Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejavascript
themeDJango
linenumberstrue
<script type="text/javascript" src="https://secure.ultracart.com/cgi-bin/UCCustomFieldTrack?merchantId=MID&mapping=subid,cid2"></script>

Make sure to replace the MID with your own UltraCart merchant ID in the URL.

What this tracking code will do is read the subid and cid2 parameters off the URL and store the values in custom field 1 and custom field 2.

...

Code Block
languagejavascript
themeDJango
linenumberstrue
<script src="https://publishers.clickbooth.com/lead_third/12345/OPTIONAL_INFORMATION"></script>
<noscript><img src="https://publishers.clickbooth.com/track_lead/12345/OPTIONAL_INFORMATION"></noscript>


Warning

Please do not use the snippet above! The snippet that they provide you has your own account number in it.

Take the snippet and replace the OPTIONAL_INFORMATION text with the [OrderId] token so that the UltraCart order id will be visible in the ClickBooth system.

This makes reporting and auditing easier.  The snippet should now look like this:

...

Finally place the conversion pixel on your conversion HTML under

For the Storefronts Checkout

Panel

Main Menu → Storefronts → (Choose Storefronts Host) → Conversion Tracking (tab) → Custom (tab) → "Conversion HTML (20,000 character maximum) - injected into only the receipt page" (section)

Image Added

UltraCart will automatically replace the [OrderId] token with the proper value and inject the pixel into the receipt that the customer's browser loads.

For the Screen Branding Themes Checkout

Panel

Main Menu Configuration Screen Branding Themes [edit] Conversion & Tracking Conversion HTML

...