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.

Example
https://shopurl.com/?<YOUR-CLICK-ID-PARAMETER>={tid}


Step 2 : Code Placement

  1. From your Shopify admin, go to "Settings"

  2. Navigate to "Customer events" » "Add Custom Pixel"

  3. Enter the "Pixel name" and then click "Add pixel"

  4. Remove the existing content from the "Code" section

  5. 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

<YOUR-CLICK-ID-PARAMETER>

This is the clickid parameter used while creating the offer.

<YOUR-POSTBACK-DOMAIN>

Postback domain of the user. (domain)

<YOUR-ACCOUNT-ID>

Offer18 account id of the user. (accountId)

<CAMPAIGN-ID>

Id of the offer. (offerId)

  1. Go to Save


Custom Checkout Options

If you are using any of the custom checkouts listed below, you must use the corresponding conversion script specific to that third-party checkout.

Shiprocket

GoKwik


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

Was this helpful?