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
-
ECommerce Tracking in Analytics - Should I use a plugin or do it manually?
Hi, I have a WordPress site (woocommerce integrated). I would like to know should I use a plugin to enable e-commerce tracking in Google Analytics or I should do it manually with GTM. Which is a better way? Will using a plugin to enable e-commerce tracking slow down my site? Any thoughts? Thanks in advance.
Reporting & Analytics | | Mr.Suren0 -
How is this site being tracked in GA?
Hi, Bit of an unusual one this, so please bear with me. This site http://www.hayesandhurst.com/ is being tracked in Google Analytics but we're unsure as to how. To the best of our knowledge we haven't inserted the tracking ID into the theme options or the tracking code into the source - and yet it appears to be tracking successfully! I did send some instructions to the client to set up the Analytics account in their name - I fear they have added the code somewhere to the site, but we cannot see where! Perhaps via Google tag Manager?? As I say, an odd one this, but if anyone can shed any light on this mystery i'd be hugely grateful. The tracking ID is UA-64505394-1 for the record. Regards,
Reporting & Analytics | | nathangdavidson
Nathan0 -
How do I add event tracking to these buttons?
I have two separate events that I would like to track on my site. [Ask a Question](javascript:__doPostBack('ctl00$MainContent$AskQuestionButton','')) and I think I would want to use this-_gaq.push ([‘_trackEvent’,’event category’,’event action’,’event label’, event value]); Is that correct? Where would I place it in the button code? Would this work?
Reporting & Analytics | | EcommerceSite
_gaq.push ([‘_trackEvent’,’AskAQuestion’,’Submitted’,’event label’, event value]); The event doesn't have a label or value. Are those left blank?1 -
Google Analytics subdomain ecommerce tracking flatlines :-(
Buongiorno from 19 degrees C wetherby UK 🙂 This website http://www.philpotts.co.uk/ contains a shop sub domian @ http://shop.philpotts.co.uk/. I configured the site Ga analytics code to include the subdomain (see below code). I had to do this as i was getting refferal data from the actuall subdomain. But after following the instructions on p117 of cutroni's ga book things have gone wrong, mainly now eCommerce data has dissapeared 😞 So my question is please: "Why has installing the GA code above caused eCommerce tracking to suddenly go dead?" Grazie tanto,
Reporting & Analytics | | Nightwing
David0 -
How to Track Google Local Places in Google Analytics?
I have read many articles on how to track google local places through google analytics. Each article I have read show a different way of setting up google analytics and using tags in google local places. Wondering if anyone as up to date information on this and what would be the best practice to track data from google local lisitngs in google analytics Thanks Arthur
Reporting & Analytics | | VivaArturo0 -
An initial set up question - linking to GA
when viewing campaign it indicates there is a problem linking to our GA account but the details entered are correct. Any ideas what the problem might be - nothing on the campaign settings page gives me a clue. There is a highlighted box saying disconnect from GA but nothing else. The only thing i can think of is that the GA account was set up by a third party and we have access to view it - could it be a permissions problem?
Reporting & Analytics | | GreatGifts4Kids0 -
Tracking Social Media Logged In Users Help
Hi, I recently read Tom Anthony's post on "Monitor Which Social Networks Your Visitors are Logged Into With Google Analytics". I have looked and re-looked at the code implemented and after two days I am still not getting any results tracking. Could somebody please take a look at my site and tell me if they see any conflicts or errors I may have made when installing the code. Thanks for any help!
Reporting & Analytics | | BryanCasson0 -
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