Versions Compared

Key

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

Kissmetics is a 3rd party analytics platform.

UltraCart supports integration with Kissmetics via the "supported conversion pixels" section of the Conversion and Tracking tab of the Screen Branding Theme editor.

Panel

Main Menu Configuration Screen Branding Themes Conversion and Tracking (tab)

...

After saving your Kissmetrics API key, you are ready to begin coding your buy links into your pages. In order to support domain changes during the checkout, your will need to wrap your UltraCart buy links with the within a script that helps track the purchase. (Please refer to our article on using the JavaScript library on more than one domain for more details).

Let's take a look at an example of encoding an item buy link with this special tracking script:

Image Modified

Here's how the script code appears for this item:

Code Block
languagegroovy
themeDJango
languagefirstlinegroovy1
titleKissmetric buy link encoding scriptfirstline1
linenumberstrue
<script type="text/javascript">
// This block would go below the main JavaScript code we provide in kissmetrics.com/settings

_kmq.push(function()
  { document.getElementById("frm1").action = 'http://secure.ultracart.com/cgi-bin/UCEditor?merchantId=DEMO&ADD=0001&kmi=' + encodeURIComponent(KM.i());
  } );
</script>

...