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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
The best way to track internal links in Google Analytics
Hi there, we are a retail business and we have invested in quality editorial content which sits in our Blog at ourwebsite.co.uk/blog/ The Blog links to the main site (an online store) and I want to track the 'value' of the blog by how many clicks the blog content generates back to the main store. At the moment we're using this code on the end of every link in the Blog: ?utm_source=Blog&utm_medium=Widget&utm_campaign=FromBlog Does this affect SEO and is there a better way of doing it? Thanks.
Reporting & Analytics | | Bee1590 -
Click-to-call mobile event tracking
Hello! I want to track calls on mobile devices from a website. I was able to successfully set up an event with Google Analytics that tracks when a user clicks the phone # on the website, however, as you know, when someone clicks a phone # using iOS it prompts a display of the # and gives the users two options, Cancel or Call. My question: is there any way to track when the user clicks the 'Call' action? Thanks
Reporting & Analytics | | RangeMarketing0 -
Google Analytics Event Tracking
Hi Guys, I want to set up a goal in Google analytics for this site http://www.dfrsolicitors.co.uk/contact.php and the contact us form is in php (so there is no thank you html page). I know there is a piece of code "onsubmit" or whatever it is, but I can't find it. I want to be able to track successful submissions. Kind Regards Neil
Reporting & Analytics | | nezona0 -
How do I add event tracking to these buttons?
I have two separate events that I would like to track on my site. [Ask a Question](javascript:__doPostBack('ctl00$MainContent$AskQuestionButton','')) and I think I would want to use this-_gaq.push ([‘_trackEvent’,’event category’,’event action’,’event label’, event value]); Is that correct? Where would I place it in the button code? Would this work?
Reporting & Analytics | | EcommerceSite
_gaq.push ([‘_trackEvent’,’AskAQuestion’,’Submitted’,’event label’, event value]); The event doesn't have a label or value. Are those left blank?1 -
301 Tracking with Google Analytics hurts SEO?
Hey guys, I have an old-domain.com and a new-domain.com. old-domain.com has reputation and through a 301 redirect it's handling it over to new-domain.com. I want to know how many people still visit old-domain.com and track this with Google Analyitcs. I read the best solution for this would be a Google Campaign URL. My question: Does a URL like "http://www.new-domain.com /?utm_source=&utm_medium=redirect&utm_campaign=" hurt the effectiveness of the 301 redirect?
Reporting & Analytics | | optimiert-es0 -
Can you filter referring keywords in Google Analytics by language?
Hi All! So yes, I know that you can see/filter the language that the computer or browser was set to (en-us, ru, fr, etc.), but if you look at the keywords used by visitors falling under "fr", some are in English. Is there any way to get, say, just the keywords in Russian - regardless of what the visitor's browser language was set to? Thanks! Aviva
Reporting & Analytics | | debi_zyx0 -
View entrance keyworsd for a subpage in google analytics
I have an element from ringcentral that is tracked by google analytics, yet for the life of me I cannot figure out to how to view the entrance keywords to that element. I can view the search metric and see which keywords and how many visits from each keyword onto the site in general, but how do I see which keywords were actually responsible for this 'click to call' code which has GA? I can see the total number of clicks into that code, but not which keywords led to it.
Reporting & Analytics | | ilyaelbert0 -
How do shortened links show up in Google Analytics?
Hey, How do shortened links show up in GA? So if I tweet about something and use bitly, does twitter get the referral? I am thinking not. I have never seen bitly show up as a referrer, but we gets lots of clicks from those links. Hmmmm. Anyone? E
Reporting & Analytics | | ErinTM0