Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Is there a way to use Google Analytics event tracking for YouTube embedded videos on my website?
- 
					
					
					
					
 Hello! I am trying to track different types of interaction on the YouTube for videos which are embedded on a website to measure the interaction on these video from my organic traffic. Is there a good way to go about this with the code since these are coming from an iFrame on YouTube? Would appreciate any feedback or help on implementing the event tracking with YouTube videos. Many thanks! 
- 
					
					
					
					
 Thanks for the example, appreciate the help! 
- 
					
					
					
					
 Thanks for these links appreciate the help! 
- 
					
					
					
					
 Hi Brian, I think - yes, just try - it is my video and some code: <iframe width="560" height="315" <="" p=""><p class="p1">onclick="_gaq.push(['_trackEvent', 'Video', 'Click', 'KenyanLakes2010']);" </p> <p class="p1"> src="http://www.youtube.com/embed/FpA0JzF8lco" frameborder="0" allowfullscreen></iframe> more on: and in further discussion Track PDF files downloaded from my site  
- 
					
					
					
					
 Hi Brian, Haven't done this personally, but here are resources on event tracking for YouTube videos. http://www.lunametrics.com/blog/2010/11/18/tracking-youtube-videos-google-analytics/ http://gaconfig.com/google-analytics-event-tracking/ Hope this helps, Vahe 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Moz reports way fewer backlinks than google search?
 My site is only 11 months old but has steadily (if not slowly) been gaining backlinks. My question, is why Moz shows me at 303 backlinks and Google search console is showing at 1,237? I am more than a little suspicious that this could highlight the reason Moz shows such an unfavorable DA ranking for our site at a DA12. Other competitors that rank for similar keywords to mine are DA 42, DA 65, DA 73, etc. If the largest ranking factor is links, and they have mine reported incorrectly - is this the issue with DA as it relates to sites like mine? Any answer from someone who has experienced similar, or has a definitive answer is more than welcome to chime in! Thanks, Kevin Reporting & Analytics | | kvncrll0
- 
		
		
		
		
		
		UTM Links Showing Up as Separate Pages in Google Analytics
 Hey everyone, I was just looking at landing pages in Google Analytics, and in addition to just the URL of the landing page, the UTM links are being listed as separate pages. Is this normal? I anticipated seeing the landing page URL and then using the secondary dimension to see source/medium. If this isn't normal, what would I check next? Reporting & Analytics | | rachelmeyer0
- 
		
		
		
		
		
		% Change - Google analytics - how to calculate?
 Hi All, Reporting & Analytics | | JohnPalmer
 I have two dates with two different numbers I want to calculate the "% Change" like google analytics, The numbers of June 2015 - 127,931 sessions
 The numbers of June 2014 - 90914 sessions please tell me what is the %Change. Best. J0
- 
		
		
		
		
		
		How do I manually add transactions to Google Analytics
 We are seeing Google Analytic's drop transaction on our site so therefore all the figures are skewed. Is there a way I can manually add transactions to GA to cover the missing one? Reporting & Analytics | | Towelsrus0
- 
		
		
		
		
		
		Localhost:4444 Showing Up in Google Analytics
 Hello All, Lately in my Google Analytics account I have noticed a referral source labelled: localhost:4444 The number of visits is really high from this source, but I have no idea (no clue!) what it actually means. Can anyone shed some light on what this is about? Should I be creating some sort of filter to screen out this as a referral source (assuming it is not legitimate)? Many thanks in advance. Cheers! Reporting & Analytics | | Robert-B0
- 
		
		
		
		
		
		What is s.ytimg.com in google analytics?
 My clients GA reports 273 visits from s.ytimg.com. I go to the site, it doesn't exist. I googled it, there were some code with s.ytimg.com in it, but nothing I could understand. Anybody have an idea where this comes from? Reporting & Analytics | | endlessrange0
- 
		
		
		
		
		
		Comparing % Change, Google Analytics
 Hey Mozzers, Is there a simple way to compare the "% Change" in traffic when comparing two separate time periods in a single Google Analytics report? When comparing data from two separate time periods, an exported CSV doesn't include the % Change (booo!), and there's no option to sort by % Change within the GA report, essentially forcing you to scroll through all the results to pinpoint the major movers and shakers. I'm not averse to using spreadsheets to sort this data, but I'm thinking that I'd likely need a macro to make this work, something like this. However, none of the macros on that page are working (possibly because they were designed for a previous version of Analytics). All suggestions are appreciated. Thanks! Reporting & Analytics | | dangaul0
- 
		
		
		
		
		
		AW Stats vs Google Analytics
 Hey Moz Community, I am looking to get opinions on the best practice for analytics/traffic analysis. From experience I know that AW Stats reads high and Google Analytics reads low for traffic for reason in this article http://www.smartz.com/blog/2009/01/23/analytic-confusion-%E2%80%93-awstats-vs-google-analytics/ It drives me a little nuts how far off both are for some pages. I have one article that shows 100 views (GA) and AW stats shows 5 times that number of views. Any suggestions or systems you recommend? Thanks Reporting & Analytics | | johnshearer0
 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				