How to Track YouTube Video in Google Analytics

Cody Schneider7 min read

Knowing your YouTube videos are driving traffic and making an impact is great, but tying that performance directly to your website goals in Google Analytics can feel like a puzzle. Without the right setup, all that valuable traffic from your videos gets lumped into "Direct" or "google.com / referral" traffic, giving you zero credit. This article will show you how to accurately track your YouTube video performance in Google Analytics 4, so you can finally see which videos drive sign-ups, sales, and real business results.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Why Track YouTube Performance in Google Analytics?

YouTube Analytics provides solid data on views, watch time, and audience demographics, but its insights stop the moment a viewer leaves the platform. To understand the true business value of your video content, you need to connect it to the actions users take on your website. Tracking YouTube in Google Analytics unlocks a deeper level of understanding.

  • Attribute Conversions Accurately: Discover which specific videos are leading to newsletter sign-ups, contact form submissions, or product purchases. You can finally prove the ROI of your video marketing efforts.
  • Understand the Full User Journey: See how viewers from YouTube behave once they land on your site. Which pages do they visit? How long do they stay? Do they come back later?
  • Compare Channel Performance: Measure YouTube's effectiveness head-to-head against your other marketing channels, such as email, paid search, or social media. This helps you decide where to best allocate your time and budget.
  • Optimize Your Video Content: By knowing which videos drive the most valuable traffic, you can create more of what works. If "how-to" videos result in high-quality leads, you know to double down on that content format.

In short, it shifts your perspective from measuring vanity metrics like views to measuring what actually matters: impact on your bottom line.

The Simple, Powerful Way: Tracking Clicks with UTM Parameters

The easiest and most essential way to track traffic clicking from YouTube to your website is by using UTM parameters. Think of them as simple tags you add to the end of your website links. These tags don't change the destination page, but they give Google Analytics specific information about where the click came from.

A URL with UTM parameters neatly answers three key questions:

  • Where did the user come from? (The Source)
  • How did they get here? (The Medium)
  • Why did they come? (The Campaign)
GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Breaking Down the UTM Parameters

There are five standard UTM parameters, but for YouTube tracking, you’ll primarily focus on three:

  • utm_source: This identifies the source of your traffic. For YouTube, you’ll always set this to youtube.
  • utm_medium: This describes the marketing medium. You could use video, social, or organic_social to categorize it. Consistency is key here.
  • utm_campaign: This names the specific campaign. It’s useful for grouping traffic from a particular video or promotional effort (e.g., q3_product_launch or how_to_install_widget_video).
  • utm_content (Optional): This helps you differentiate links that point to the same URL within the same video. For example, you could track a link in your video description separately from a link on your end screen (e.g., description_link vs. endscreen_link).
  • utm_term (Optional): Originally for paid keywords, but you can repurpose it to specify the topic or keyword of the video if needed.

Here’s how a standard URL transforms into a trackable one:

Before:

https://www.yourstore.com/new-product

After:

https://www.yourstore.com/new-product?utm_source=youtube&amp,utm_medium=video&amp,utm_campaign=new_product_reveal_2024&amp,utm_content=description_link

Building these URLs by hand is tedious and prone to errors. Instead, use Google's free Campaign URL Builder. Simply fill in the fields, and it will generate the correctly formatted URL for you to copy and paste.

Where to Place Your Trackable Links on YouTube

Once you have your tagged link, you need to place it where your viewers will see it. Here are the most effective locations on YouTube:

  • Video Descriptions: This is the most common and important spot. Always include a relevant, trackable link right at the top of your description.
  • Pinned Comments: Write a comment with your call-to-action and link, then "pin" it so it's the first comment everyone sees.
  • YouTube End Screens: At the very end of your video, you can add clickable elements, including a link to an external website. This is a high-intent placement.
  • YouTube Cards: These are the small, interactive "i" icons that can slide out during a video to suggest a link.
  • Channel Profile Link: The primary link displayed on your channel's banner and "About" page should also contain UTM parameters to track general channel-level traffic.
  • Community Tab Posts: When sharing updates with subscribers, use your trackable links to promote blog posts, landing pages, or products.

How to See Your YouTube Traffic in Google Analytics 4

After you’ve added your UTM-tagged links to YouTube and started getting clicks, that data will begin populating in your GA4 property. Here's how to find it:

  1. Navigate to your Google Analytics 4 property.
  2. In the left-hand navigation menu, go to Reports → Acquisition → Traffic acquisition.
  3. The default view is often Session default channel group. To see your specific UTM data, click the dropdown arrow above the first column of the table.
  4. Select Session source / medium. You should now see an entry for youtube / video (or whatever source/medium you chose).
  5. To dig deeper, select Session campaign as the primary dimension. This will show you the performance of each individual campaign you've set up, allowing you to compare performance video by video.

In this report, you can easily see metrics like Users, Sessions, Engaged sessions, and most importantly, Conversions for each of your YouTube campaigns. If your utm_campaign was how_to_install_widget_video, you can now see exactly how many people who clicked that specific link ended up making a purchase or signing up.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Advanced Method: Tracking Embedded YouTube Video Plays

UTM tagging is perfect for tracking traffic from YouTube, but what about tracking how users interact with videos embedded on your own website? For this, we turn to Google Tag Manager (GTM). This method allows you to send events to GA4 when a user clicks play, watches a certain percentage of a video, or completes it - all without leaving your website.

While a full GTM tutorial is beyond this article, the basic process involves these steps:

1. Enable Built-In Video Variables in GTM

Google Tag Manager has several pre-built variables that can automatically capture information about YouTube videos playing on your site. You just need to turn them on. In your GTM container, go to Variables, click "Configure" under Built-In Variables, and check the boxes for Video Provider, Video Status, Video Title, and Video Percent.

2. Create a YouTube Video Trigger

Next, you need to tell GTM when to listen for video interactions. Go to Triggers → New and select the YouTube Video trigger type. Here, you can configure it to fire when a user:

  • Starts a video
  • Completes a video
  • Pauses, seeks, or buffers
  • Reaches a certain percentage (e.g., 25%, 50%, 75%, 100%)
GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

3. Create a GA4 Event Tag

Finally, you'll create a tag that sends this information to Google Analytics. Go to Tags → New and select the Google Analytics: GA4 Event tag type. Here, you'll create a custom event, perhaps named video_engagement. You can then add event parameters to send more detailed information, such as:

  • video_title: Set its value to the {{Video Title}} variable.
  • video_percent: Set its value to the {{Video Percent}} variable.
  • video_status: Set its value to the {{Video Status}} variable.

Link this tag to the YouTube Video trigger you created in the previous step. Once published, your GA4 property will start receiving custom events every time someone interacts with an embedded YouTube video on your site, giving you a powerful new layer of engagement data.

Final Thoughts

Connecting your YouTube performance to Google Analytics is the key to moving beyond simple view counts and understanding your true marketing ROI. Using UTM parameters is a non-negotiable first step for anyone serious about measuring traffic coming from YouTube. For deeper onsite analysis of embedded videos, Google Tag Manager provides a sophisticated way to measure user engagement.

Manually combing through GA4 reports and cross-referencing data from YouTube, your ads platforms, and your CRM can still be a heavy lift. We built Graphed to remove this friction. After connecting your Google Analytics and other platforms in a few clicks, you can stop hunting for data and just ask for it. Get instant answers with prompts like, "Show me a dashboard of my top 5 converting YouTube videos this quarter" or "Compare ROI between my YouTube campaigns and Facebook Ads last month," and let AI build the reports for you in seconds.

Related Articles

How to Enable Data Analysis in Excel

Enable Excel's hidden data analysis tools with our step-by-step guide. Uncover trends, make forecasts, and turn raw numbers into actionable insights today!