Help Center

Tracking Secure Store Transactions

This article authored by ivantage Limited, an Urchin Software Authorized Consultant

Urchin can track data from a shopping trolley on your own domain or on other domains with the addition of some code. To set up your pages to report transaction data to Urchin, please read How do I track e-commerce transactions?

In addition, if your store site is on a different subdomain or domain to your main site, follow the instructions below to configure your pages.

If your website initiates a purchase checkout process on a different subdomain (for example, if you send customers from www.mystore.com to shoppingcart.mystore.com):

   <script src="/urchin.js" type="text/javascript">
   </script>
   <script type="text/javascript">
    _udn="mystore.com";
   </script>

If your website initiates a purchase checkout process on a separate store site (for example, if you send customers from www.mystore.com to www.securecart.com):

     <script src="/urchin.js" type="text/javascript">
     </script>
     <script type="text/javascript">
       _udn="none";
       _ulink=1;
     </script>

     <a href="https://www.securecart.com/?store=parameters">Purchase Now</a>

   <script type="text/javascript">
   document.write('<a href="javascript:__utmLinker(\'https://www.securecart.com/?store=parameters\');">Purchase Now</a>');
   </script>
   <noscript>
   <a href="https://www.securecart.com/?store=parameters">Purchase Now</a>
   </noscript>

If you send information to your shopping trolley using forms, use the utmLinkPost() function. It appends cookie data to the provided URL of the supplied form.

   <form action="http://newdomain.com/form.cgi" onSubmit="javascript:__utmLinkPost(this)">