cdnjs on GitHub

youtube-google-analytics

  • 42
  • 229
  • 96

https://github.com/lunametrics/youtube-google-analytics.git

This is a plug-and-play tracking solution for tracking user interaction with YouTube videos in Google Analytics. It will detect if GTM, Universal Analytics, or Classic Analytics is installed on the page, in that order, and use the first syntax it matches unless configured otherwise. It include support for delivering hits directly to Universal or Classic Google Analytics, or for pushing Data Layer events to be used by Google Tag Manager.

analytics, youtube, tracking

Version
CDN provider

youtube-google-analytics/8.1.4/lunametrics-youtube.gtm.js

youtube-google-analytics/8.1.4/lunametrics-youtube.gtm.min.js

Related Tutorials

Write your own awesome web development tutorials for the libraries on cdnjs! Submit your community driven tutorials now!