# GTM + GA4: How to Track Videos (in a website)

**Youtube video tracking with GTM trigger and GA4  
  
  
1\. Disable Video Engagement tracking features in Enhanced Measurement.**   
Otherwise, there's a high risk of occasional duplicate data.

How to disable Video Engagement tracking in GA4:  
*GA4 Admin &gt; Data Streams &gt; Gear Icon* &gt; disable *Video Engagement* tracking.   
[![Screenshot 2022-05-30 at 12.36.59 PM.png](https://manual.eskimi.com/uploads/images/gallery/2022-05/scaled-1680-/3deJqkrBnqMMrlhg-screenshot-2022-05-30-at-12-36-59-pm.png)](https://manual.eskimi.com/uploads/images/gallery/2022-05/3deJqkrBnqMMrlhg-screenshot-2022-05-30-at-12-36-59-pm.png)

  
**2. GTM &gt; Create a Youtube Video trigger**  
[![Screenshot 2022-05-30 at 12.39.10 PM.png](https://manual.eskimi.com/uploads/images/gallery/2022-05/scaled-1680-/jqkh8351jE8J4oE8-screenshot-2022-05-30-at-12-39-10-pm.png)](https://manual.eskimi.com/uploads/images/gallery/2022-05/jqkh8351jE8J4oE8-screenshot-2022-05-30-at-12-39-10-pm.png)  
Put the details as you see it above and then hit &gt; SAVE  
  
  
**3. GTM &gt; Enable built-in video variables**  
GTM &gt; Variables &gt; Configure &gt; Select all variables that refer to videos  
[![Screenshot 2022-05-30 at 12.41.30 PM.png](https://manual.eskimi.com/uploads/images/gallery/2022-05/scaled-1680-/rpmIXa1mUfukL5PM-screenshot-2022-05-30-at-12-41-30-pm.png)](https://manual.eskimi.com/uploads/images/gallery/2022-05/rpmIXa1mUfukL5PM-screenshot-2022-05-30-at-12-41-30-pm.png)

**4. GTM &gt; Create a GA4 tag**  
GTM &gt;Tags &gt; New &gt; GA4 Event Tag as you see it below  
[![Screenshot 2022-05-30 at 12.43.18 PM.png](https://manual.eskimi.com/uploads/images/gallery/2022-05/scaled-1680-/WS09kFAniaJMzhDA-screenshot-2022-05-30-at-12-43-18-pm.png)](https://manual.eskimi.com/uploads/images/gallery/2022-05/WS09kFAniaJMzhDA-screenshot-2022-05-30-at-12-43-18-pm.png)  
Don't forget to SAVE  
  
 **5. Test the setup in debug view**  
  
5.1 Go to your website and find a page that contains a Youtube player, for example [https://www.eskimi.com/about-us](https://www.eskimi.com/about-us)  
Then go back to GTM, refresh, select Preview and paste the link of the website.  
Choose CONNECT.  
  
Then, you will see that a new tab will open. Activate the video (in order to trigger the events that we just created).  
[![Screenshot 2022-05-30 at 12.47.42 PM.png](https://manual.eskimi.com/uploads/images/gallery/2022-05/scaled-1680-/oekIUNAIAFu3bOGt-screenshot-2022-05-30-at-12-47-42-pm.png)](https://manual.eskimi.com/uploads/images/gallery/2022-05/oekIUNAIAFu3bOGt-screenshot-2022-05-30-at-12-47-42-pm.png)

  
Go back to GTM and see that the tag is fired :D   
[![Screenshot 2022-05-30 at 12.47.56 PM.png](https://manual.eskimi.com/uploads/images/gallery/2022-05/scaled-1680-/M8VpKuSRNEI7bOxy-screenshot-2022-05-30-at-12-47-56-pm.png)](https://manual.eskimi.com/uploads/images/gallery/2022-05/M8VpKuSRNEI7bOxy-screenshot-2022-05-30-at-12-47-56-pm.png)  
  
5.2 GA4 &gt; Debug view  
GA4 &gt; Configure &gt; DebugView &gt; see the events  
  
Also, don't forget to add the events in the Custom Dimensions \[in order to be able to add these dimensions into your reports (Explorations)\]  
[![Screenshot 2022-05-30 at 12.52.41 PM.png](https://manual.eskimi.com/uploads/images/gallery/2022-05/scaled-1680-/3Ly8m34Pu8pBTdCd-screenshot-2022-05-30-at-12-52-41-pm.png)](https://manual.eskimi.com/uploads/images/gallery/2022-05/3Ly8m34Pu8pBTdCd-screenshot-2022-05-30-at-12-52-41-pm.png)  
  
  
See how to make a [Custom Report for Video Engagement Metrics here.](https://manual.eskimi.com/books/google-analytics-ga4-ua/page/ga4-video-engagement-data)