Premium Webstores Tracking Pixel InstallationThere are two areas within your design where tracking codes may need to be installed:
Please refer to the Creating and Storing Custom Design Files page for further details on how to work with customizing design elements. PrerequisitesTasks to CompleteComplete the following tasks related to this topic: Obtain Tracking Code To start the install process, you will need to obtain the tracking code from the vendor that you want to track on your store. This will usually consist of the following:
View the Tracking Code Examples page to view a list of code examples that a designer can use as guidelines. Adding Code to Design TemplatesAdding code to design templates is fairly straightforward as the code that makes up the templates will always be in a .ascx file and is made up of ASP code. In general, a designer should be able to place the code directly in this file and have it render on the various pages that the template is setup to control. The designer may have to place the code in a specific area in the template if the requirement is to have the tracking always fire in a particular section of the page. For example, many tracking codes need to be placed within the <HEAD> tags for a given page. Therefore, the code will need to be placed within that tag in the design template. It is always best to edit design templates in a simple text editor such as Notepad and never in a word processing program such as MS Word. For further details on how to work with designe templates, please refer to the Skinning Tutorial in the ASP Manual . Adding Code to the Order Confirmation PageThe XML Package called page.orderconfirmation.xml.config is where tracking codes can be added so they render on the final checkout page of your store. For details on how to work with XML Packages, please refer to the XmlPackage Overview & Operation tutorial. Retrieving Full Item DetailsSome tracking pixels only require the order number and total amount which is already available by default in the XML package. However, many tracking pixels require the items in the order which are not available by default. To retrieve this information, a design can add the query below to the page.orderconfirmation.xml.config XML Package. This query should not replace the existing query. This code must appear before the <PackageTransform> tag. If this is added in the incorrect place then the order confirmation page may fail to load entirely:
Adding Tracking Codes The specific pixel code goes at the end of the PackageTransform node near the end of the file. Specifically, the code should go just before the closing template tag in the file which looks like </xsl:template>. Here is an example:
Install ChannelAdvisor Tracking PixelsIf you are running comparison shopping and/or search campaigns in Premium Webstores, then you will want to make sure that you install your ChannelAdvisor tracking pixels on your new store. You should install both the Natural Search and the Order Confirmation pixels in your store. These pixels need to be placed in specific areas of your store to function properly. For the full pixel specification please see Tracking Pixel Specification Note : You will want to make sure that you keep your SMCID the same when you install the pixel. You can obtain your SMCID within your ChannelAdvisor account by navigating to My Account > Account Settings > Tracking Pixel .
ReferenceThere are two areas within your design where tracking codes may need to be installed:
Please refer to the Creating and Storing Custom Design Files page for further details on how to work with customizing design elements. PrerequisitesTasks to CompleteComplete the following tasks related to this topic: Obtain Tracking Code To start the install process, you will need to obtain the tracking code from the vendor that you want to track on your store. This will usually consist of the following:
View the Tracking Code Examples page to view a list of code examples that a designer can use as guidelines. Adding Code to Design TemplatesAdding code to design templates is fairly straightforward as the code that makes up the templates will always be in a .ascx file and is made up of ASP code. In general, a designer should be able to place the code directly in this file and have it render on the various pages that the template is setup to control. The designer may have to place the code in a specific area in the template if the requirement is to have the tracking always fire in a particular section of the page. For example, many tracking codes need to be placed within the <HEAD> tags for a given page. Therefore, the code will need to be placed within that tag in the design template. It is always best to edit design templates in a simple text editor such as Notepad and never in a word processing program such as MS Word. For further details on how to work with designe templates, please refer to the Skinning Tutorial in the ASP Manual . Adding Code to the Order Confirmation PageThe XML Package called page.orderconfirmation.xml.config is where tracking codes can be added so they render on the final checkout page of your store. For details on how to work with XML Packages, please refer to the XmlPackage Overview & Operation tutorial. Retrieving Full Item DetailsSome tracking pixels only require the order number and total amount which is already available by default in the XML package. However, many tracking pixels require the items in the order which are not available by default. To retrieve this information, a design can add the query below to the page.orderconfirmation.xml.config XML Package. This query should not replace the existing query. This code must appear before the <PackageTransform> tag. If this is added in the incorrect place then the order confirmation page may fail to load entirely:
Adding Tracking Codes The specific pixel code goes at the end of the PackageTransform node near the end of the file. Specifically, the code should go just before the closing template tag in the file which looks like </xsl:template>. Here is an example:
Install ChannelAdvisor Tracking PixelsIf you are running comparison shopping and/or search campaigns in Premium Webstores, then you will want to make sure that you install your ChannelAdvisor tracking pixels on your new store. You should install both the Natural Search and the Order Confirmation pixels in your store. These pixels need to be placed in specific areas of your store to function properly. For the full pixel specification please see Tracking Pixel Specification Note : You will want to make sure that you keep your SMCID the same when you install the pixel. You can obtain your SMCID within your ChannelAdvisor account by navigating to My Account > Account Settings > Tracking Pixel .
ReferenceRelated Topics: |