Cookieless integration with Shopify
Step 1 : Create Offer
For Cookieless tracking, it is mandatory to include click ID parameter and token in the Offer URL and also for all the landing pages while creating an offer in Offer18 dashboard.
Step 2 : Code Placement
From your Shopify admin, go to Online Store » Themes.
Find the theme that you want to edit, and then click ... (3 dots) » Edit code
Click on theme.liquid » Place the below code in '<head>' tag
Users must replace '<YOUR-CLICK-ID-PARAMETER>' with the clickid parameter used when creating the offer.
Step 3 : Place below script in Shopify Checkout
Go to Shopify store » Settings » Checkout
In Additional Script under Order status page section » Place script » Submit
You can collect conversion data using various Offer18 Postback Parameters and Shopify data attributes.
Offer18 Postback Parameter | Shopify Parameter |
currency | {{ currency }} |
sale | {{ total_price | money_without_currency }} |
adv_sub4 | {{ total_price | money_without_currency }} |
adv_sub5 | {{ order_number }} |
coupon | {{ checkout.discount_applications[0].title }} |
Last updated