How many ways to use Event in Google Tag Manager for Event Tracking?
-
Hello Experts,
How many ways to use Event in Google Tag Manager for Event Tracking? As per me there are 5 ways given below are they correct? 2nd thing if yes can you please please tell me procedure of using all or which is the best one to use?
- HTML 5 Data Attributes
- Classic Google Analytics Example:
_gaq.push(['_trackPageview', '/downloads/pdfs/corporateBrief.pdf']);
3) Universal Analytics Example:ga(‘send’, ‘pageview’, ‘page path’);
-
query string?
-
or is it possible without any coding on website we can configure id's in google tag manager?
Thanks!
BK Mitesh
-
Hi BK! This is Beck. I'm a part of the analytics team here at Moz.
Thank you for reaching out to us. We'll try to answer your question the best we can.
The gaq.push option is a commonly used solution, as long as you are following through with the same methodology on your site setup. I am attaching a link below that may help you put the GA event tracking practice a little more in perspective. Having said that however, other options you mentioned are certainly plausible. Can you be a little bit more specific about your setup?
The GA event tracking how-to is the following: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
As far as your question on the tag manager setup, yes, tag manager can help you out with this as well, as long as your methodology is consistent throughout your site. I'm attaching another documentation that talks about tag management event tracking as well. If this doesn't help, can you be a little more specific on what you're trying to accomplish on this as well?
The tag management event tracking is the following: https://support.google.com/tagmanager/answer/3420054?hl=en
Thanks again for reaching out to us!
-Beck
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
-
Fire a tag when element is loaded on page (Google Tag Manager)
I'm using an Element Visibility trigger to track a value that appears on a page. However, I want to track this value even when the user doesn't scroll to the area of the page where the element is (i.e. when the page is loaded, and the value is displayed below the fold, but the user doesn't scroll down there). Is there a way of doing this
Reporting & Analytics | | RWesley0 -
Tracking Mailto Links Through Event Tracking
Hi I am trying to get event tracking working on some mailto links on a website using Universal Analytics. I've read various resources as nothing seems to mention mailto links. Does it not work on tracking outbound clicks on emails? Thanks in advance.
Reporting & Analytics | | Karen_Dauncey0 -
Google Shopping tracking as organic traffic - help!
Hey guys, I have an eCommerce client who sometimes runs Google PLA and Google Shopping campaigns. However, we don't run his AdWords for him, just do his SEO. At the moment, the Shopping campaigns track as organic traffic within Analytics. And I can't see any way to change this! It's so infuriating. How do I change this? Thanks!
Reporting & Analytics | | jasarrow0 -
Google Analytics Goals - Different Domain
Hi, We currently need to setup a goal that involves a different domain. Any guidance would be greatly appreciated. more info: the checkout process is redirected to a secure.domain Just let me know if I can provide any additional info that may helpful.
Reporting & Analytics | | opusvo0 -
Why should I use Google Tag Manager and will it help rankings?
hi all I have been reading the documentation here; http://www.google.co.uk/tagmanager/ But cannot find a real GREAT reason for using this and how it will help my fairly small (500/600 visitors/month) hobby website. Any suggestions help most welcome! Thanks Andy
Reporting & Analytics | | andystorey0 -
Where do I find Google Analytics link tracking for outbound links?
We implemented this script in source, where would I find the outbound link tracking; in Events?
Reporting & Analytics | | KnutDSvendsen0 -
Do links with tracking codes pass PageRank?
I have a client that has acquired a link from an influential partner but the partner has set the link up to have clicks tracked within their analytics. Do links like this pass PageRank: Anchor Text
Reporting & Analytics | | SearchEngineRescue0 -
Transferring Google analytics accounts
Hi, Does anyone know if you can transfer an Google Analytics account. We are looking to take over a new clients existing website and the analytics account is registered to their current web designers. Is it possible to transfer it to the client so that their existing web company no longer has access and they keep all their historical data, or do we have to start from scratch. Thanks Fraser
Reporting & Analytics | | fraserhannah0