BigCommerce
Follow the below steps to integrate BigCommerce store with Offer18 to track conversions.
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.
https://shopurl.com/?<YOUR-CLICK-ID-PARAMETER>={tid}Step 2 : Code Placement
Follow the steps to add the code snippet into BigCommerce account for all pages.
From your BigCommerce account, go to "Storefront"
Script manager » "Create Script" » add Script name
Select "Header" in placement and "All Pages" in location
Select "Essential" in Script category and "Script" in script type
Now, place the script given below in the "Script contents" section
<script src="https://web-resources.offer18.net/sdk/web/WebSDK.js"></script>
<script>
window.Offer18WebSDK.initializeUrlParam('<YOUR-CLICK-ID-PARAMETER>');
</script>
After adding the script for all pages, follow the below steps to add the script for Order Confirmation.
From Storefront » Script manager » "Create Script" » add Script name
Script manager » "Create Script" » add Script name
Select "Footer" in placement and "Order Confirmation" in location
Select "Essential" in Script category and "Script" in script type
Now, place the script given below in the "Script contents" section

Ensure that all placeholders in the script are replaced with the correct campaign information, as explained in the table 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)
Debug Mode
To enable debug mode in an SDK, add the following code inside your script:
Last updated