How to Create and Install a Conversion Script
How to set up conversion tracking in Vidalytics and install it on your thank you or confirmation page.
Vidalytics Conversion Tracking lets you measure the real impact of your videos — tracking exactly how many leads and sales are generated by viewers who watched your VSL before taking action. Once set up, conversions are attributed automatically to the right video without any extra configuration.
Availability: Conversion tracking is not available on the Free plan. To gain access, upgrade to any of our paid plans
Part 1 — Create a Conversion
Access the Conversions page — click the $ icon on the left-side menu to open the Conversions page. Here you will see a list of all your existing conversions and their details.
Create a new conversion — click the + New Conversion button at the top left of the screen.
Set up your conversion — a pop-up will appear where you can configure the following:
- Name — give your conversion a clear, descriptive name (e.g., "Purchase," "Lead Form," "Webinar Registration")
- Default value — assign a monetary value to each conversion if you want to track revenue
- Count — define whether each visitor should be counted once or every time they convert
- Conversion window — set the time window within which a view must occur before a conversion for it to be attributed to your video
Click Save when you are done. Your new conversion will appear in the list and will be automatically enabled across all your videos. You can always adjust this on a per-video basis from each video's individual settings page.

Part 2 — Install Your Conversion Script
Once your conversion is created, grab the conversion script and place it on the page where the conversion happens — your thank you page, confirmation page, receipt page, or any page that a viewer lands on after completing the desired action.
Paste the script directly right after the opening body tag or in the footer of that page, as long as it is on the page that immediately follows the conversion action.
Tip: If you are using a tag management tool like Google Tag Manager, you can inject the conversion script through it and it will work exactly the same way. The script will fire correctly regardless of how it is added to the page.
Caution: If you have several VSLs that end up on the same page where you've added the conversion snippet this would result in duplicate calculation of the conversions.
How Does Vidalytics Know Which Video Drove the Conversion?
You do not need to do anything extra to connect a conversion to a specific video. Vidalytics automatically checks whether the visitor's session included a view of one of your videos before they reached the conversion page. If it did, the conversion is attributed to that video automatically.
When a viewer sees the video, we tag them with an e-tag, IP and cookie, and wait for them to convert. We attribute that conversion back to their viewing of a specific video. We would not show conversions from a viewer on a video they didn't watch. Or that they watched AFTER they converted.
Video engagement tracking is particularly valuable for:
-
Monitoring viewer activity post-lead generation campaigns.
-
Insights into which content resonates most.
-
Automating targeted follow-ups in your CRM based on individual viewer behavior.
If you have any questions, feedback, or need assistance, feel free to reach out to our Customer Happiness Team at hi@vidalytics.com.