What Parameters and Rules i set to track all types of click?
-
Hello Expert,
If i want to track all types of clicks either link, button, drop down etc for my website then what parameters i add in "Event Tracking parameters" and what will be firing rules.
I already have universal analytic and google tag manager. Track Type as even i selected in google tag manager now please tell me 1) what i add in category, Action, label? 2) what should be the rule.
I will be really thankful to you if you give cut to cut answer instead of sharing post.
-
If you want to track a button click using Google Tag Manager you still have to use analytics api as described in the link I posted earlier.
No I am not aware of any other way of tracking button clicks than using javascript. If the button clicks trigger an url change you can of course track it indirectly, tracking the url change.
GTM also needs you to add analytics api call for tracking transactions: https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingEcommerce
Same goes for site speed and few others.
Adding that javascript does of course introduce a potential delay a slow down user experience. Based on my experience the delay is negligible.
If you need to chain a lot of tracking calls I suggest deferring them.
I strongly suggest you to design and plan (carefully) what you really need to track first.
-
I have E-commerce site, and 2nd thing when GTM is going very advance still you want me to use javascript? Is it not possible to work or track without javascript?
Also i have E-commerce site with more than 10k products, so if i directly configure event tracking in tag manager for all types of events so will it affect to 1) site speed 2) or it will work slow of the user? or push data layer is best option to track events instead of directly configure all events in tag manager?
-
You may end-up overwhelmed with data if you really track every single click anywhere. You should analyze what is really helpful to track what is not.
Analytics is giving you a ton of information, have you already spent time analyzing all of it? Understanding it? And taking all the actions to improve your metrics?
You didn't mention what kind of site is that. Blog? E-commerce? Your target is selling? Promoting a brand? Collecting emails through form submission? If you analyze what is your target and what are the path and goals you expect from your visitors you will find out what it really matters to track.
Said that, if you really what to track everything, you can just use jquery or any javascript library to override click events, and use analytics javascript api to track events:
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
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
-
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?
Reporting & Analytics | | conversal0 -
Help setting up FILTERS for External Payment pages?
Hi all, I own a webshop and believe my Google Analytics is not showing true data. At the moment when a user pays for their basket, they are redirected to an external secure payment page from my PSP, then after they have paid they are redirected back to my website. How is this visitor being counted? As the PSP-URL is a different site I assume this would be treated as an exit? Can I setup FILTERS to INCLUDE this URL so GA doesn't think its an external page or is there a better way? Thanks
Reporting & Analytics | | darrenbooy0 -
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 -
Tracking time spent on a section of a website in Google Analytics
Hi, I've been asked by a client to track time spent or number of pages visited on a specific section of their website using Google Analytics but can't see how to do this. For example, they have a "golf" section within their site and want to measure how many people either visit 5 page or more within the golf section or spend at least 6 minutes browsing the various golf section pages. Can anyone advise how if this can be done, and if so, how I go about it. Thanks
Reporting & Analytics | | geckonm0 -
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']);
Reporting & Analytics | | bkmitesh
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 Mitesh0 -
How to not track mobile redirects in Google Analytics
If a user is on a mobile device and comes to our home page, http://www.darden.virginia.edu/web/Home/ they are redirected to http://m.darden.virginia.edu/web/Home/. We want a way to remove all the redirects from our Google analytics reports. More specifically we do not want to include the the page view of http://www.darden.virginia.edu/web/Home/ in our page view count when the user is on a mobile device. How do we do that?
Reporting & Analytics | | Darden0 -
Need help setting up a Google analytics goal.
I'm just now getting my feet wet with the goals in GA. I'm trying to figure out how many visitors to a certain page, click on a certain link (which takes them no a certain page on my site.) What's the best way to go about this? Thanks.
Reporting & Analytics | | NoahsDad0 -
How to track clicks and "impressions" on a certain botton on my website.
I would like to track the amount of impressions on all pages in a "sub category" doman.com/subcategory/all-impressions-to-these-pages and clicks to a certain button for a contact form. I know that I can add snipets to my analytics code but I'm not sure how to and witch snipet to include. Is it possible?
Reporting & Analytics | | SuperlativB0