Cookieless Tracking
Last updated
Last updated
To start tracking with Offer18's web SDK, add the below script tag in all the landing pages of the website.
Placement : Header (All Pages)
In order to track conversions without cookies, follow the instructions given below.
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 offer in Offer18 dashboard.
Like this example link user must replace <YOUR-CLICK-ID-PARAMETER>
with the clickid parameter of their choice.
Users must add the following code snippet into all landing pages except Order confirmation / Order Success (Thank you) after creating an offer.
Placement : Header (All Pages)
User must replace <YOUR-CLICK-ID-PARAMETER> with the clickid parameter used when creating the offer.
After adding the script user needs to add the following script in thankyou / order-confirmation page
Placement : Thank you Page/Order Success Page (One Page)
domain (Mandatory) : Postback domain of the user.
accountId (Mandatory) : Offer18 account id of the user.
offerId (Mandatory) : Id of the campaign.
coupon : Coupon code can be used here
postbackType : It can be either 'iframe'
or 'pixel'
, default value is 'iframe'
.
isGlobalPixel : User can configure global pixel by setting this true
, default value is false
.
allowMultiConversion : User can allow MultiConversion by setting this true
, default value is false
.
conversionData : This object contains the parameters which can be used to get values from network.
To enable debug mode in an SDK, add the following code inside your script:
Enabling debug mode allows user to get more detailed information about the working of the SDK, including any errors or debugging messages.