Cookieless integration with Shopify
Step 1 : Create Offer
For Cookie less 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 "Settings"
Navigate to "Customer events" » "Add Custom Pixel"
Enter the "Pixel name" and then click "Add pixel"
Remove the existing content from the "Code" section
Now, place the script given below in the "Code" section
Ensure that the placeholders in the script are replaced with the actual information for the campaign. The placeholders are explained in the table provided below.
Placeholder | Explanation |
| This is the |
| Postback domain of the user. (domain) |
| Offer18 account id of the user. (accountId) |
| Id of the offer. (offerId) |
In case of shopify 'postbackType' must be 'ajax'
Go to Save
Collect Data
You can collect conversion data using various Offer18 Postback Parameters
Conversion Data | Offer18 Postback Parameter | Variable to use |
Currency | currency | |
Total Amount of the Order | sale | |
Order ID of the Order | adv_sub5 | |
Discount Coupons | coupon |
Debug Mode
The user can enable debug mode by uncommenting 'window.Offer18WebSDK.activateDebugMode();'
Last updated