Installing 1st party tracking via Shopify

To install our 1st party tracking you need to implement our redirect script first. You can find the information how to set it up here:

Installing-1st-party-tracking

If you want to implement the redirect script via Google Tag Manager, please follow the instructions here:

Installing-1st-party-tracking-with-google-tag-manager

Implementing the script

The conversion script has to be implemented here in the Shopify administration backend:

Go to Settings –> Checkout –> Order processing –> Additional content & scripts

You can find the conversion script here:

<script>
(function() {
var el = document.createElement('script');
el.setAttribute('src', '//cdn.trackmytarget.com/tracking/s/checkout.min.js');
el.setAttribute('data-type', 'sale');
el.setAttribute('data-offer-sid', 'OFFER_SID');
el.setAttribute('data-event-sid', 'EVENT_SID');
el.setAttribute('data-id', '#{{ order_number }}');
el.setAttribute('data-amount', '#{{ subtotal_price | money_without_currency }}');
el.setAttribute('data-currency', '#{{ currency }}');
document.body.appendChild(el);
})();
</script>
<noscript>
<img src="https://p.trackmytarget.com/?type=sale&amp;offer_sid=OFFER_SID&amp;event_sid=EVENT_SID&amp;id=#{{ order_number }}&amp;amount=#{{ subtotal_price | money_without_currency }}&amp;currency=#{{ currency }}" alt="" width="1" height="1" border="0" />
</noscript>

Parameters

  • OFFER_SID required
    Replace with 6 character sID of the Offer. You can find this value in Offer list of the marketplace or ask your account manager.

  • EVENT_SID required
    Replace with the 6 character sID of the product group. You can find this value in the tracking tab when creating or editing an Offer or you can ask your account manager.

Boost your affiliate program

Download our free whitepaper for insights into 2020’s top affiliate marketing trend: self-service affiliate programs

© 2020 Target Circle AS | Terms & Privacy | Cookie preferences | Email

Learn the 2020’s Top Affiliate Marketing Trends