How Do I Add Custom Tracking Code?

  • Home
  • FAQs
  • How Do I Add Custom Tracking Code?
SPP comes with a Google Analytics integration which gives you a detailed overview of your sales funnel.

To integrate other tracking scripts you can use the template editor in Settings > Templates and add your code to both public/layout.html and clients/layout.html templates. Paste your code either before the closing </body> tag or the closing </head> tag.

To add a separate conversion tracking pixel you can edit theĀ clients/receipt.html template. When editing this template put your code in the content block (between the {% block content %} and {% endblock %} tags).

If you want to track order values, use the {{ }} variable, for example:

    ga('ecommerce:addTransaction', {
    'id': '{{ }}',
    'revenue': '{{ }}'

Was this helpful? Let us know…