Tracking Code
Tracking codes allow you
to check the progress of your website. It is a
snippet of code that is placed on a page which can
either be given to you by another company or
created by you.
Following are the
instructions to add Google Analytics code to your
Internet Store or Buy-Me Button™.
Login to
your Management Console, click on Internet Store
>>> Modify my existing setup >>>
Tracking Code. This will take you to the Tracking
Codes - Setup Page. On this page you will see a
table that looks like Fig. 1
To add
tracking code to your home and cart pages copy the
settings of Fig. 1 and paste the below snippet of
code into the Tracking Code field of the table
just like in Fig. 1
 Fig. 1
<script
src="http://www.google-analytics.com/urchin.js"
type="text/javascript"></script> <script
type="text/javascript"> _uacct="xx-xxxxxx-x"; urchinTracker(); </script> Note: You have to replace
the xx-xxxxxx-x in the code with the UA number
assigned to you by
Google.
Click the NEXT
button to continue.
On the following page
chose YES and click NEXT to add E-commerce
Tracking Code to your receipt page to track your
transactions. Copy the settings of Fig. 2 and
paste the below snippet of code into the Tracking
Code field of the table just like in Fig.
2
 Fig. 2
<script
src="http://www.google-analytics.com/urchin.js"
type="text/javascript"></script> <script
type="text/javascript"> _uacct="xx-xxxxxx-x"; urchinTracker(); </script> <form
style="display:none;"
name="utmform"> <textarea
id="utmtrans"> UTM:T|{OrderID}|{Total}|{Tax} UTM:I|{OrderID} </textarea> </form> <script
type="text/javascript"> __utmSetTrans();
< /script>
Note: You have to replace the
xx-xxxxxx-x in the code with the UA number
assigned to you by Google.
|