Track buttons in Google Tag Manager
-
Hi!
First question: I am wondering if it's possible to track two buttons with the same code in Google Tag Manager without changing the code? There are different page URL's..
Second one: My tags are displayed in Google Analytics as 'events'. When I put the events in 'goals', the number of times it fired differs from my events.
Someone who can help me with this issue?
-
For the first question: How you track button events in Tag Manager is going to be the clue. If you track the button click by ID or class, and the ID or class is the same in both places, the event will be tracked as long as the code is firing on all pages (or at least the pages that have the buttons you want to track).
Regarding GA events not matching the goal in your second questions, there could be a few things to watch out for. First, you'd want to check your event Category, Action, Label is set to and then what your goal is set to watch.
Also, goals conversions are unique per session, so the first time the goal is converted it is recorded. Any further goal conversions in that same session are not recorded. Events, on the other hand, are not unique. Each and every event is recorded no matter if it is the first time, second time or 10th time. (some additional reading here)
Hope this helps!
Steve
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
-
Is the meta referrer tag still used
Is the meta meta referrer tag still used and is it affective. I have an issue with traffic going from one of my sites to a client site and our referral is going into their direct traffic (in Googel Analytics) instead of being seen as a referral from our site. I saw that people were using the meta referral tag, but I can't find any MOZ info about it other than a blog article from 2015.
Reporting & Analytics | | dpsoftware1 -
How long does Google Analytics credit a source?
I was under the impression that GA credits the source with a conversion if it is the source for the current session but it seems that if the user returns later that the source may still be credited. Is this the case? How long does GA credit a source?
Reporting & Analytics | | bearpaw1 -
Cross Domain Tracking
I want to track across domains, but also track as a virtual pageview anytime someone clicks on the link to another domain. So currently I have, for example: Checkout Now! As per Google's instructions, I need to have the link set to: Checkout Now! But this will obviously get rid of my virtual pageview. Is there a way I can do both?
Reporting & Analytics | | TeachersMutualBank0 -
Google Webmaster Tools not displaying all backlinks
I was asked to take a look at a site that a friend redesigned and immediately plummeted in rankings. It was a flash site where the domain redirected to a flash landing page. When the site was redesigned, they removed the flash page and put in the new site on the domain URL without changing the redirect or putting a 301 in place on the old flash landing page URL. This site didn't have many backlinks to begin with, but it did ok for some important search phrases. Now when I look in Webmaster Tools, there are only 2 backlinks showing. Meanwhile I know there are more backlinks in existence, primarily from yellowpages and citysearch. I've had them put a 301 on the old flash landing page pointing at the domain URL and they've added a canonical URL. What have I missed here?
Reporting & Analytics | | BostonWright0 -
Re-branding with Google Analytics
GM Mozzers, I apologize in advance if my description of this issue is confusing, but I'm doing my best here. Anyway, due to legal reasons, one of the publications I manage was forced to change their name. We set-up a 301 redirect from the previous domain and have also set-up an analytics profile for the new domain, however, as it stands, visits to the old domain outnumber those to the new domain 12:1. Is there anyway to set-up my analytics profile to the new URL so that this traffic is being attributed to the new domain and the new site, since, after all, it is a redirect. I hope that I explained this sufficiently. Any and all insight will be very much appreciated. Thank you in advance.
Reporting & Analytics | | NiallSmith0 -
Set up Google Analytics by product category
Does anyone know if it's possible to set up Google Analytics data by product category? We sell roughly twenty product categories on our ecommerce site. We can look at our analytics performance for the site overall and drill down to specific pages, but what we really want to see is our performance by product category. Our product categories can include up to 5000 products. Any pointers on how to do this?
Reporting & Analytics | | ironpac0 -
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