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
-
How would I create this type of report in Google Analytics?
I work for an e-commerce site. I would like to run a weekly report to see what every category pages increase and decrease for pageviews would be. How would I do that?
Reporting & Analytics | | EcommerceSite0 -
Google Analytics Content Experiments
Has anyone else found that Google Analytics Content Experiments seems to quite quickly favor the best performing variant in an experiment, and then show that variant many times more often than other/s - not split the traffic evenly? What is Google's thinking behind 'optimizing' during an experiment? It seems odd to me.
Reporting & Analytics | | David_ODonnell0 -
So many questions!
Yesterday was a jubilant day! Our website http://www.farnorthkennel.com hit the #2 spot on google for one of our keyword searches "german shepherd puppies in Alaska." We are new at this and it took a lot of work and about 2 months to do this (I realize this is fast). What happened overnight? We have new pages on page 1 towards the bottom, but our homepage fell to around page 4? What would make this happen? I didn't make any updates to the homepage recently. Am I linking to it too much interally? Am I running too many categories? The "too many on pages links" warning comes up all of the time, but I feel like my site is structured user friendly. I am blogging like mad and successfully getting guest blog posts on reputable sites like mad. I have 30,000 Facebook fans.... but will never understand google. Any takers? What happened overnight?
Reporting & Analytics | | Joshlaska0 -
Duplicate content and ways to deal with it.
Problem I queried back a year for the portal and we can see below that the SEO juice is split between the upper and lowercase. You can see the issue in the attached images. http://i.imgur.com/OXnPp.png Solutions: 1) Quick: Change the link on the pages above to be lowercase 2) Use canonical link tag http://www.seomoz.org/blog/canonical-url-tag-the-most-important-advancement-in-seo-practices-since-sitemaps The tag is part of the HTML header on a web page, the same section you'd find the Title attribute and Meta Description tag. In fact, this tag isn't new, but like nofollow, simply uses a new rel parameter. For example: http://www.darden.virginia.edu/MBA" /> ''This would tell Yahoo!, Live & Google that the page in question should be treated as though it were a copy of the URL http://www.darden.virginia.edu/MBA and that all of the link & content metrics the engines apply should technically flow back to that URL.'' 3) See if there is any Google Analytics filters at the site level I can apply. I will check into this and get back to you. What do you all think?????? OXnPp voJdp.png OXnPp.png
Reporting & Analytics | | Darden0 -
Track shopping cart abandonment?
We have an e-commerce site, and we use Google Analytics. We have created a "sales" goal + the funnel. Our funnel has the following structure: shopping cart - register - login - address - shipping - payment method - confirmation - sales This helps us track "goal abandonment". But we're also interested in tracking "shopping cart abandonment". For example we can see that 100 visitors enter the shopping cart, and 80 of them proceed to register or other steps in the funnel. This means that 20% left the car (shown by a red arrow in Google Analytics). Is there other way to see how many people left the shopping cart without proceeding to any of the other steps in the funnel, for example, people that closed their browsers or went to a page in the site not included in the funnel? I know I'm missing something here... Thanks!
Reporting & Analytics | | gerardoH0 -
Google analytics advanced segments
Ok, I need help with a simple (although, for some reason, I'm having trouble with it) advanced segment. Dilemma**:** All of our techs have a backend cookie that they use to log into our website. I want a way toexclude all visites where the landing page contained this in the url:/backend/cookie.php?username= Advanced Segment: We have a lot of techs and each one of them has a different "username=example". So how can I set up an advanced segment where it will exclude any visit where the visitor came in one a landing page containing /backend/cookie.php?username=
Reporting & Analytics | | NerdsOnCall0 -
Using Clients GA account for their over all website to Optimize Their Blog? or is there a better way to compare apples to apples
I would like to optimize my clients blog. If I am using their GA account for their over all website but put in the sub folder for SEOMOz, will it detect that I only want to optimize the blog ex. http://xxx.com/blog or will I be seeing the GA for the entire site on SEOMOZ?
Reporting & Analytics | | CliffordC0 -
Google analtyics code placement
I saw that Google suggests the analytics code be in the , will this effect the page load if it is in here? Also, is it a problem to have it in the body?
Reporting & Analytics | | Gordian0