Skip to main content

How to Use Vidalytics Conversion Script with ClickBank

How to set a Vidalytics conversion script in ClickBank.

Aldo Peña avatar
Written by Aldo Peña
Updated this week

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

  1. Log into your Vidalytics dashboard and click the Conversions tab (represented by a "$" icon).

  2. 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).

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

  1. Host a page on your site or funnel platform (e.g., /thank-you.html).

  2. 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>
  3. 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

  1. Log into ClickBank and go to Vendor Settings → My Products.

  2. Edit your product and set the Thank You Page URL to your new custom URL.

  3. Save changes.

4. Test Your Setup

  1. Perform a test purchase in ClickBank (test order or trial).

  2. Ensure you’re redirected to your Thank You page.

  3. 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 [email protected]. 😊

Did this answer your question?