With Shopify and Trackier integration, you can directly connect your Shopify store with your Trackier platform and can access all your clicks and conversion data in one place in your trackier dashboard.


TABLE OF CONTENTS


Trackier's built-in Shopify integration, allows you to track the campaigns, their order id, order number, order name, and will get easier and you don’t need to use any additional tracking links or affiliates or partners.
All the day-to-day activities on Shopify, you can track into the Trackier.




Integration advantages


1. The clicks and the number of conversions that are reflecting on the Shopify store those you can track in the Trackier platform.

2. Easy setup processes and not require any technical knowledge to set it up.

3. The one-time integration process for tracking all the campaigns. 


There are few steps to do the integration with Shopify and Trackier integration.


There are two methods of doing the integrating with Shopify.


  • Direct Automated Integration
  • Manual Pixel Integration



Direct Automated Integration


Step: 1


Navigate to Automation > Integration > E-commerce > Shopify. Click on setup instructions to have a guide in place over the platform itself.


Step: 2


Place the below script after the <body> tag in theme.liquid file

<script src="https://static-cdn.trackier.com/js/trackier-lp-v1.1.0.js"></script>



Step: 3


Go to your Shopify store > settings > checkout tab > order processing section > additional script and place your JS pixel or Image tag here which you have got from the Trackier platform.


Additional script -


(function() {    function getCookieVal(name) {        var allCookies = document.cookie.split('; ');        var result = null;        allCookies.forEach(function(v) {            if (v.indexOf(name + '=') !== -1) {                result = v.split('=')[1];                return false;            }        }) return result;    }    var clickId = getCookieVal('click_id') || '';    var tr_utm_camp = getCookieVal('tr_utm_camp') || '';    if (/^trackier_/.test(tr_utm_camp)) {        var a = document.createElement("iframe");        a.setAttribute("src", "UPDATE_THE_URL_HERE&sale_amount={{ total_price | money_without_currency }}&txn_id={{ order_number }}&currency={{ currency }}&click_id=" + clickId);        a.style.width = "1";        a.style.height = "1";        document.body.appendChild(a)    } }())


Step: 4


To update the URL in the script take the URL from the campaign under the campaign iframe pixel "src" 



Step: 5


After placing the pixel click on “save” to proceed.


 

Note: In the Shopify store if you are already using any click script then the Reconciliation toggle will not work. With the help of the pixel which you have placed in the Shopify store. Every time whenever checkout is made by the customer, As soon as our pixel will get triggered on Shopify, you will be able to receive the conversion in your Trackier platform in the Stats.


Manual Pixel Integration



Navigate to Automation > E-Commerce > Setup Instruction. 



By placing Trackier’s JS pixel or the Image tag to the Shopify store you can start tracking the conversions on the Trackier Platform.

The clicks and the number of conversions that are reflecting on the Shopify shore those you can track in the Trackier platform.

Offer setup and conversion Tracking pixel

Trackier's JS pixel example

<img src="https://demo.gotrackier.com/pixel?adid=5eb27a3cb6920d71dc1c1842&sale_amount=AMOUNT&currency=USD"> <script type="text/javascript">    (function() {        var a=document.createElement("iframe");        a.setAttribute("src","https://demo.gotrackier.com/pixel?av=57c4738434243dc57d8b456d&sale_amount=AMOUNT");        a.style.width="1";a.style.height="1";        document.body.appendChild(a)    })(); </script>   

Trackier's Iframe pixel example

<iframe src="https://demo.gotrackier.com/pixel?av=6156db9f6cf95e1d763d9dc7&txn_id={{ order_number }}&sale_amount={{ total_price | money_without_currency }}&currency={{ currency }}" scrolling="no" frameborder="0" width="1" height="1"></iframe>        

                

Placing pixel code in Shopify

Go to your Shopify store > settings > checkout tab > order processing section > additional script and place your JS pixel or Image tag here which you have got from the Trackier platform.

After placing the pixel click on “save” to proceed.


 

Integration testing


After the setup has been completed Trackier allows you to test the integration and generate a test click and conversion between Shopify and Trackier. Where you will be able to get the order id, order number, and order item details.



In case of any help in the integration process, you can contact our support team 24*7 or can mail us to 
support@trackier.com.