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.
Custom Variables to track Vimeo plays on website with Google Analytics?
-
Hello Everyone,
I'm trying to track how many times a Vimeo video is played on my site via GA.
Does any of you have any knowledge of how can this be achieved? I've read the documentation and came up with this:
After the iframe embed i insert this:
Of course the GA is loaded in the header.
Does not work, at least i cant see anything in analytics. I have set up the segment as per the attached image.
Thanks in advance!
Alex
-
Hi,
I wrote a step by step instruction on how to do it using Sanders method. I made it as simple as I could. Find it here: http://www.serpstone.com/magazine/vimeo-video-tracking-in-google-analytics-using-tag-manager/
-
Hey there,
Not sure if you ever got this resolved, but here are two sources that I found that may help:
https://github.com/CardinalPath/gas#_gastrackvimeo
http://sanderheilbron.github.io/vimeo.ga.js/
I'll try out one, and if that doesn't work, I'll try the other. Let me know if you have any success!
-
How else can one embed a Vimeo movie?
-
Do you absolutely have to use an iframe?
-
Yes, but this assumes that you can actually make the Play button a link.
If you're embeding a Vimeo or Youtube video as an iframe you cannot touch/see the "play" button.
Any other ideas?
-
This is what I read in the Google Event documentation.
The Event Tracking data model has the following components which map directly to__elements in the Analytics Reports interface:
- categories
- actions
- labels
- values
- implicit count
A simple example illustrates how you might use the Event Tracking method to record user interaction with a video Play link on your page. It assumes that
pageTracker
is the__name used for your tracking object._[Play](#)_
_In this scenario, the reports for Events would display Videos as the Category, __Play as the Action, and Baby's First Birthday as the Label. The rest of this document describes these components in detail. Bear in mind that when you implement Event Tracking,_you can use this data model as a guide, or you can simply use the
_trackEvent()
method to segment user interaction in any way that works for your data.
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
-
Whatstuffwherebot user agent messing up Google Analytics
Starting yesterday, Aug 26, 2020, I noticed a new bot crawling our site with user agent whatstuffwherebot. Google Analytics is counting these hits as human traffic, completely throwing off my numbers - yesterday, Analytics reported nearly triple my typical number of visitors. As of now, Search Console only shows data through Aug 25 so I don't know if Search Console is also affected. Is anybody else seeing something similar? Does anybody know what the whatstuffwherebot bot is? I don't get any results when I search on Google or Bing. For what it's worth, the traffic is coming from Columbus, OH, running over Amazon AWS via 278 different IP addresses so far. Also, WordFence (my WordPress security plugin) correctly identifies these hits as bot traffic.
Reporting & Analytics | | ahirai0 -
How to exclude traffic for a specific mobile device in Google Analytics view?
Hi, Need help on how to exclude traffic for a specific mobile device in Google Analytics view. I have been searching and the only information available is excluding IP address of internal traffic. Is there any way to exclude traffic through a mobile MAC address?
Reporting & Analytics | | Khadija_K0 -
Tracking 301 redirect traffic in Google Analytics
if I 301 redirect www.mywebsite.com to go to www.yourwebsite.com, how can I track the traffic in Google Analytics that is coming from mywebsite.com?? I don't think that's a referral traffic, is it?
Reporting & Analytics | | Armen-SEO0 -
Google Analytics SEO Queries Not Showing
Hi All, This might be a silly question, but for all the properties I monitor in Google Analytics, I'm now showing no data for SEO Queries under Acquisition for the past 6 days. Normally I would expect a few day delay in queries, but nothing for 6 days is somewhat peculiar especially as it was functioning fine prior to November 12th. Does anyone have insight into what might be going on? Thanks! URaNMa3
Reporting & Analytics | | amichaels0 -
How does switching to HTTPS effect Google Analytics?
We are looking at making our site HTTPS. We have been using the same Google Analytics account for years and I like having the historical data. All of our pages will be the same, we are just going to redirect from the http to https. Does anything need to be done with Google Analytics? What about other addons such as Optimizely, Crazy Egg, or Share this?
Reporting & Analytics | | EcommerceSite0 -
How many users completely block Google Analytics cookies ?
Hello everyone! In your experience, how many of your visitors' browsers completely block cookies including those of Google Analytics ?
Reporting & Analytics | | Masoko-T0 -
Google Analytics for example.com and www.example.com
Hello. I have had a Google Analytics account set up to track the property www.example.com for several years. In Google Webmaster Tools, I recently set the preferred domain to example.com (without the www), and we put in a rewrite from www to no-www in the .htaccess file. Should I now change the url of the property in Google Analytics to example.com (without the www), or does Google Analytics see the two urls as the same? Thank you!
Reporting & Analytics | | nyc-seo0 -
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