First we will create your conversion pixel using Shopify’s tokens to insert the correct values for TotalSales and MerchantReferenceID.


We will use the following Shopify tokens:

  • {{ total_price | money_without_currency }} - This will pass the total sale amount to LinkTrust.

  • {{ order_number }} - This is the Shopify order number, which we will use as the Merchant Reference ID.

You will add these tokens to your pixel as &MerchantReferenceID={{ order_number }}&TotalSales={{ total_price | money_without_currency }}

This will make your pixel: 
<IMG src="http://demo4.linktrust.com/pixel.track?CID=306169&p=img&MerchantReferenceID={{ order_number }}&TotalSales={{ total_price | money_without_currency }}" width="1" height="1" border="0" />

You will need to replace demo4.linktrust.com in the pixel with your tracking domain and replace 306169 with your campaign’s CID.

Now you are ready to add your LinkTrust conversion pixel to your Shopify store. To add this pixel to Shopify, go to Settings > Checkout and paste the code in the "Additional scripts" field in the "Order processing" box.

Additional content 1


For more information refer to Shopify's documentation (http://wiki.shopify.com/Conversion_Tracking)

Labels
  • None