How Conversion Tracking Works
VSLStats tracks conversions in two ways:
- Client-side events - JavaScript fires when a visitor completes an action on the page (button click, form submit).
- Server-side webhooks - Your funnel platform sends a webhook to VSLStats after a purchase is confirmed. This is more reliable and works even when the browser closes before the thank-you page loads.
VSLStats joins conversion data to the video session using a vsid (visitor session ID) that persists across the funnel via URL parameters and first-party cookies.
Setting Up a Conversion Event
- In your project, open Settings → Conversions.
- Click Add Conversion Event and choose a type: Purchase, Lead / Opt-in, or Custom.
- Give the event a name (e.g., "Front-end purchase - $97") and optionally set a revenue value.
- Choose your trigger method: Page URL match, Button click selector, or Webhook.
- Save. VSLStats generates a snippet or webhook URL depending on your chosen method.
Trigger Methods
Page URL Match (Thank-You Page)
The simplest method. VSLStats fires a conversion when a visitor lands on a URL matching your pattern. Example: any URL containing /thank-you or /order-confirmation.
Add the VSLStats tracking script to your thank-you page, or use VSLStats' GTM tag if you manage tracking through Google Tag Manager.
Button Click Selector
Fire a conversion when a specific button is clicked. Provide the CSS selector for your CTA button (e.g., #buy-now-btn or .checkout-cta). VSLStats listens for the click and records the conversion tied to the active video session.
Webhook (Recommended for Purchases)
For purchases, webhooks are the most reliable method. Your funnel platform sends a POST request to VSLStats after the payment processor confirms the transaction - even if the customer closes their browser early.
- Copy your Webhook URL from the conversion event settings (format:
https://api.vslstats.com/webhooks/conversions/xxx). - In your funnel platform, add this URL as a purchase webhook or success action.
- Map the
vsidparameter: ensure your funnel passesvsidthrough the order form URL so VSLStats can join the purchase to the video session. - Test with a purchase and verify the conversion appears in your VSLStats dashboard within 30 seconds.
Connecting with Your Funnel
ClickFunnels
Add the VSLStats tracking script to the page header of your video sales page. ClickFunnels automatically passes URL parameters through to order forms - ensure vsid is included in your VSL page URL when running ads.
GoHighLevel
Use GHL's webhook workflow action to POST to your VSLStats webhook URL after a form submission or purchase. Map the vsid field from the contact's custom field (VSLStats stores it there via the tracking script).
Kajabi / ThriveCart / SamCart
Each platform supports purchase webhooks. Follow the same process: copy the VSLStats webhook URL and add it in your platform's fulfillment or order webhook settings.
Revenue Attribution
Once conversions are flowing, VSLStats calculates:
- Revenue per view - total attributed revenue ÷ total video plays.
- Conversion rate by watch depth - what percentage of viewers who watched to 25%, 50%, 75%, and 100% converted. This shows where your offer is connecting or losing.
- Time-to-convert - how many hours/days passed between the video watch and the purchase.
Viewing Conversion Reports
Navigate to Analytics → Conversions for your project. You'll find:
- A timeline of conversions correlated against video plays.
- A funnel view: Views → Partial watches → Completions → Conversions.
- Revenue totals with day-over-day and week-over-week comparisons.
- Conversion segmentation by traffic source (UTM parameters), device, and geography.
Export any report as CSV from the top-right Export button for use in your own dashboards or client reporting.