How to Use Vidalytics Conversion Script with ClickBank
How to set a Vidalytics conversion script in ClickBank.
Note: ClickBank does not allow editing of their confirmation (thank-you) page, you cannot directly add a conversion script there. To properly track conversions using Vidalytics, you must redirect buyers to your own Thank You page where you can embed the script.
Restrictions:
-
You must have a Vidalytics Pro plan or higher to access conversion script features.
-
ClickBank’s built-in confirmation page cannot be modified, so conversion scripts must be added externally.
How to Set It Up
1. Create a Vidalytics Conversion Script
-
Log into your Vidalytics dashboard and click the Conversions tab (represented by a "$" icon).
-
Click on + New Conversion, then enter:
-
A name (e.g., "ClickBank Purchase")
-
Default value (optional, for revenue tracking)
-
Count type (every purchase or unique per viewer)
-
Conversion window (e.g., 30 days).
-
-
Save the conversion. Copy the generated script by clicking the </> icon next to it.
Note: For a step by step guide on how to create and setup a conversion script see our Conversion Script document HERE
For advance options and dynamic purchases you can refer to our Public API documentation HERE.
2. Build Your Custom Thank You Page
-
Host a page on your site or funnel platform (e.g.,
/thank-you.html). -
Insert the Vidalytics conversion script just before the closing
</body>tag:htmlCopyEdit<script src="https://fast.vidalytics.com/js/conversion.min.js?cid=YOUR_CID"></script> <script> new VidalyticsConversionTracking().track(null, { conversionId: "YOUR_ID", value: 49.99 }); </script> -
Ensure the page only loads after a valid purchase—don’t add it to pages that non-customers can access.
3. Configure ClickBank to Redirect
-
Log into ClickBank and go to Vendor Settings → My Products.
-
Edit your product and set the Thank You Page URL to your new custom URL.
-
Save changes.
4. Test Your Setup
-
Perform a test purchase in ClickBank (test order or trial).
-
Ensure you’re redirected to your Thank You page.
-
Confirm that the conversion script is firing correctly (use browser tools or Vidalytics debugger).
Benefits
-
Accurate conversion attribution in Vidalytics tied back to specific videos and watch behavior.
-
Deeper insights: see which videos are generating actual sales, not just clicks.
-
Dynamic value tracking: capture actual purchase amounts for ROI analytics.
-
No extra coding beyond embedding a script on your own page.
-
Complete funnel control: customize the post-purchase experience while tracking conversions.
Additional Tips
-
Avoid duplicates: If multiple products send buyers to the same confirmation page make sure to use different Thank You pages, and use separate conversion scripts to prevent double-counting.
-
Check caching: Ensure your Thank You page isn’t cached, so the script fires on every purchase.
-
Leverage conversion windows and revenue value: track one-off or repeat purchases accurately and quantify revenue.
For additional questions, feedback or assistance please feel free to reach out directly to our Customer Happiness Team at hi@vidalytics.com. 😊