Tracking CODE Integration

The integration of the tracking code is necessary to record clicks and conversions. For this purpose, the tracking code must be integrated in the shop header and on the checkout page. The checkout page is the page that is called after a successful purchase process.

All you have to do is add this tracking code:

1. In the shop header:

/** IROIN Pixel Code **/
<script>
  (function(r,o,i,e,v,n,t){r["ROI"]=v;r[v]=r[v]||function(){(r[v].q=r[v].q||[]).push(arguments)};n=o.createElement(i);t=o.getElementsByTagName(i)[0];n.async=1;n.src=e;t.parentNode.insertBefore(n,t)})(window,document,"script","https://d10b6d3ito6abt.cloudfront.net/analytics.js","roi");

  roi("init", YOUR_IROIN_ID);
  roi("shop","THE_NAME_OF_THE_SHOP_SYSTEM");
</script>
/** End IROIN Pixel Code **/

2. In the header of the checkout page:

<script>
  roi("conversion", 0);
</script>

 

EXAMPLE SHOPIFY

Shop systems like Shopify offer the possibility to integrate a tracking pixel for the checkout page.

Step 1 - Integration of the tracking code

Bildschirmfoto 2018-06-04 um 17.05.09.png

Click on "Online Store" in the left navigation.

Bildschirmfoto 2018-06-04 um 17.05.29.png

Click the "Customize" button (top right).

Bildschirmfoto 2018-06-04 um 17.05.55.png

Select "Edit Code" from the drop-down menu (bottom left).

Bildschirmfoto 2018-06-04 um 17.06.20.png

Select the file "theme.liquid".

Bildschirmfoto 2018-06-04 um 17.07.06.png

Scroll to the </head> tag and add the tracking code.

Bildschirmfoto 2018-06-04 um 17.07.35.png

Save your changes.

Step 2 - Customize the checkout page

image1.png

Call up the settings via the "Settings" menu item (bottom left).

image3.png

Then select the "Checkout" tab.

Bildschirmfoto 2018-06-04 um 17.30.43.png

Scroll to Order processing. There you will find the section "Additional script". In this field you simply copy the tracking code for the checkout page and click on save at the bottom of the page.

You have now successfully completed the integration of the tracking pixel.