Prompt
How do I track video views and conversions on my site?
Latest observation
To track video views and conversions on your site, you generally need to instrument two things:
- Video engagement events
- Conversion events tied to your business goal
Here’s the practical setup.
1) Define what you want to measure
Decide which video actions matter. Common ones:
- Video view = video started
- Engaged view = watched 25%, 50%, 75%, or 100%
- Conversion = purchase, form submit, sign-up, lead, etc.
You should track both:
- The video event
- The outcome event
2) Use an analytics platform
Popular options:
- Google Analytics 4 (GA4)
- Google Tag Manager (GTM) to send events without changing code often
- Ad platforms like Google Ads, Meta Pixel, etc. if you need ad attribution
If you only need website reporting, GA4 + GTM is the common combo.
3) Track video events
If you use YouTube/Vimeo embeds
You can often capture player events like:
- play
- pause
- progress
- complete
Common methods:
- GTM video triggers
- Platform APIs
- Custom JavaScript event listeners
Example events to send to analytics
video_startvideo_progresswith percentagesvideo_complete
Include metadata such as:
- video title
- video ID
- page URL
- percent watched
4) Track conversions
Set up a conversion event for the action you care about:
sign_upgenerate_leadpurchasecontact_form_submit
In GA4, mark the event as a conversion.
Examples:
- user submits lead form after watching video
- user clicks “Buy Now” after viewing product demo
- user completes checkout after interacting with a testimonial video
5) Connect video views to conversions
This is the key part.
Basic attribution
Check whether users who viewed the video convert more often than those who didn’t.
Better attribution
Send both events with a common identifier:
- user/session ID
- page path
- campaign parameters (UTM tags)
Then analyze:
- conversion rate for video viewers vs non-viewers
- conversion rate by watch depth
- time lag between video view and conversion
6) Recommended implementation patterns
Option A: GTM + GA4
Best for most sites.
Workflow:
- Add GTM to your site
- Configure video triggers
- Send GA4 events for video interactions
- Set conversion events in GA4
- Analyze reports/explorations
Option B: Custom event tracking
Best if you have custom video players or need precise control.
Use JavaScript to detect:
- when video plays
- percent watched
- completion
- form submissions / purchases
Then send events to your analytics endpoint.
7) Example: what to track
A strong event schema might be:
Video events
video_startvideo_25video_50video_75video_complete
Conversion events
lead_submitpurchasedemo_request
Properties
video_idvideo_titlepage_locationwatch_timepercent_watchedutm_sourceutm_campaign
8) Best practices
- Track unique viewers vs total plays
- Avoid double-counting if the same video loops
- Test events in debug mode before launching
- Make sure consent/privacy settings comply with your region
- Use consistent naming conventions
- Don’t overtrack every tiny interaction unless you need it
9) Simplest way to start
If you want a quick setup:
- Install Google Tag Manager
- Connect GA4
- Enable video triggers in GTM
- Track form submits / purchases as conversion events
- Mark those events as conversions in GA4
- Use reports to compare viewers vs non-viewers
If you want, I can give you:
- a GA4 + GTM step-by-step setup
- code for custom HTML5 video tracking
- or a setup for YouTube/Vimeo embeds specifically.