In order to track YouTube information in Google Analytics, you will first need to:
- Create a web property in Google Analytics
- Get the tracking ID
- Enter the tracking ID into YouTube
Create a New Web Property
You can integrate your YouTube account with an existing GA web property, but we recommend creating a new web property. This way YouTube visits will not be added to your current web property's visitors, potentially skewing analysis. For example if you track purchases per thousand visits, YouTube traffic can’t purchase, so your site conversion percentage will go down when it shouldn’t. If you want to analyze all traffic, it is easier to combine data sources.
Sign in to your Google Analytics account. You will want to go to the Admin tab at the top of the page. On the drop-down menu under Property, select Create New Property.
You will need to fill out the required information on the form. In the Website URL field, enter the URL for your YouTube channel.
After you have filled it out, click Get Tracking ID. This will take you to a page with the Tracking ID, website tracking code, and some other implementation information. The Tracking ID will allow Google to track your channel’s data.
Enter Tracking ID in YouTube
Next, we need to enter the Tracking ID into YouTube.
First, sign in to your YouTube Account. Next, click the channel icon in the upper right-hand corner and select the settings (gear) button. This will pull up the Account Settings Overview page.
Under Additional Features, click on View additional features.
You should now be on the Status and features page. On the left panel, choose Advanced.
The field where you enter your Tracking ID is at the very bottom of the page. Once you enter it in, click Save. Google Analytics will now track your YouTube data.
Google Analytics will now track your YouTube channel’s data.
Tracking YouTube Data in Grow
To monitor the views of your YouTube channel in Grow:
First, add a Google Analytics custom metric to your dashboard. Next, Click Select Sites and choose your YouTube channel to add the correct URL to track. Use the Metrics button to add Sessions, then click on the Dimensions button and add Medium, Source, or Source/Medium in the next field.
- Source shows the web pages and IP addresses from which traffic comes (i.e. google, Facebook, etc.).
- Medium shows the type of source (direct, Chat, paid, organic, referral, etc.).
- Source/Medium combines both of the above. Each line of data displays the website from which someone accessed your site as well as the type (medium) of source that website is.
Choose a date range to display, and hit Connect.
Make sure that the information is correct, and click Continue to finish creating your metric and add it to the dashboard. You can always edit these settings after the metric is finished.
If you want to add a metric that shows how many views each video has, check out this article.
And that’s it!
If you have any questions please email firstname.lastname@example.org or chat in on the site.