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
-
UTM tracking on a mapped subdomain, is it OK? (DA bonus question)
Hi, This is a technical question. OK, two technical questions. Please bear with me and I'll do my best to explain... We have a WordPress blog (business account, hosted by WordPress). We use it to blog and send traffic to our separate e-commerce site. We use UTM tracking to see which blog posts perform best. Our e-commerce site has a high domain authority. Our blog, not so much. In an effort to increase the domain authority of the blog we have mapped a subdomain of the e-commerce site to the Wordpress blog (still hosted by WordPress). Q1. Will this actually raise the blog's DA? If the blog does get a DA boost, I guess it'll be because Google now sees it as part of a powerful domain. But if it is technically part of the powerful domain... Q2. Should we remove the UTM parameters from the blog? I've read that you should never use UTM on internal links because it messes with your Google Analytics data. But I'm unsure if links on a mapped subdomain count as 'internal links'. Any help would be gratefully appreciated. Thanks in advance. J
Reporting & Analytics | | JabeKay0 -
URL open with double domain names when click on visit URL link in Google Analytics
I have configured Advance Filter to track the sub-domains traffic as follow : Filter
Reporting & Analytics | | gamesecure
Type: Custom filter > Advanced Field A: Hostname Extract A: (.*) Field B: Request URI Extract B: (.*) Output To: Request URI Constructor: $A1$B1 After that, I am able to see sub-domains record and View Full Page URL In Reports. But when I check reports in All page (e.g. Behavior >> All Pages) or selecting Landing Page as a Primary Dimension. Further I click on Icon given next to displayed Full URL to visit to same domain page, in browser the page
opened but the double domain name comes so page not open successfully. For example : In landing page list following URL given : www.sitegeek.com/compareHosting/arvixe_vs_hostgator If I click on icon given next the displayed URL, in browser following URL will
open https://sitegeek.comwww.sitegeek.com/compareHosting/arvixe_vs_hostgator Is this First Domain with HTTPs, coming from Google Analytic 'View' where this is taken ? How Can I remove double domains? Thanks, Rajiv0 -
I want to track product click so how to create project object or how to pass project object ?
Hey, I am reading this post - https://developers.google.com/tag-manager/enhanced-ecommerce#product-clicksIn this there is function like given below - function(productObj) { dataLayer.push({ 'event': 'productClick', 'ecommerce': {.....................................................................................................................Now my developer asking how to create object? or how to pass product object? Like on page we have more than 50 products listed, so if any one clicks on any product from list then how will we know which product has been clicked?Hope you understand what i want to say? Regards,Mitesh
Reporting & Analytics | | bkmitesh0 -
How can I track my rankings on Google Images?
I noticed a small amount of traffic coming from a particular very generic keyword. Being pleasantly surprised that we are ranking for this, and after some digging, I found that we are actually ranking in Google images, rather than in the web results. How can I track whether other keywords are ranking in Google images? I use Rank Checker to track keywords in the main web results, but this doesn't have a function for Google Images. Help please - thanks.
Reporting & Analytics | | TheJewelleryEd0 -
Double click by Google - whats that all about?
Buongiorno from Latitude 53.92705600 Longitude -1.38481600... Ok ive watched the video, ive read the blog posts but what is Double click by Google? how do i get to use it?
Reporting & Analytics | | Nightwing
http://doubleclickadvertisers.blogspot.co.uk/2012/06/digital-marketing-platform-to-win.html Is it a seperate service to Adwords? Questions questions... Any insights welcome 🙂0 -
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 -
Tracking PDF Downloads in Google Analytics
Hi, I work on a site that allows users to download whitepapers after filling out a form. Once they do this they are redirected to a URL which is the PDF. We use Wordpress and these documents were uploaded to the media center. I've tried researching how to track these downloads in GA, since the code is not present on these pages, but have read a few different answers. Anyone have firsthand experience? Thanks!
Reporting & Analytics | | tinarose0 -
What's the best way to track moble traffic / sales from a subdomain in Google Analytics?
Hello, I've been trying to figure out the best way to track traffic and sales for a subdomain mobile site and would appreciate any feedback or guidance. I've set up an advanced segment but have found that I'm not able to source traffic since the segments get disabled when trying to view top content pages. I've also setup an additional sub-profile under the main domain profile in google analytics and have set up an advanced filter using the following guildelines http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html In the Profile Settings page, click the Add Filter link. Choose Add New Filter and provide the filter a name. Choose Custom Filter and select Advanced on the Filter type settings. Under Advanced settings: FieldA should be set to Hostname FieldB should be set to Request URI Set the values for both Field A and Field B to (.*), which is an expression that captures all characters. Set the Output To --> Constructor option to Request URI and provide $A1$B1 as the value for that choice. I'm unsure if I've set up the profile / filter correctly, the traffic stats are different than the segment. The mobile profile is also tracking all ecommerce transactions instead of just mobile. Here's the code I have in place. we're using the Traditional code Thanks, Jamie
Reporting & Analytics | | marketing_zoovy.com0