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
-
How to Configure & Tracking Images in Google Analytic?
Hello Experts, Can anyone tell me for my eCommerce site how to configure images tracking in google analytic? And where can I see the image traffic in google analytic? Not sure I am asking correct question but confuse about image traffic. Thanks! Wrights!
Reporting & Analytics | | wright3350 -
Tracking sessions from a sub-domain that is 301 redirected to main domain
Hi, one of my client is launching a new site on a subdomain newsite.brand.com.au but will use a shorter URL on the packaging on their new rang of products to be sold in supermarkets, prompting shoppers to visit xxx.brand.com.au. This specific sub-domain xxx.brand.com.au will be 301 redirecting to newsite.brand.com.au How can I identify and track accurrately all the visits coming from xxx.brand.com.au to newsite.brand.com.au?The visits from sub-domain xxx.brand.com.au will be attributed to direct channel I guess. Is it worth adding GA on this 301 redirected sub-domain xxx.brand.com.au or there another way to identify those visits on newsite.brand.com.au ?
Reporting & Analytics | | mecglobal0 -
When I click an outgoing link from Analytics - why are they all broken?
On one of my websites, if I visit the Behavior > Site Content section of Anayltics any link I try to open is broken. Google Analytics is appending the domain before every URL causing it to open in a popup but as a broken link. Example: Trying to click a link to a page on the website at this URL: http://www.thisisanexample.com/test.html But in the Analytics popup browser this is what it tries to load: www.thisisanexample.comhttp://www.thisisanexample.com/test.html So I can't preview any of the content within Google Analytics. I feel like this is a settings issue somewhere... Any ideas?
Reporting & Analytics | | ShawnW0 -
Tracking Social Interactions with GA and WordPress
Hi, One of the things I'm looking to do is to track clicks on my social follow buttons. I know I can try to add GA events for each button and go from there. But in order to simplify the process, I'm looking for a WP plugin that can help. Currently I've only come across AddThis and Share This as viable options, though Add This has very mixed reviews, and Share This isn't updated for WP 3.6.1. For my social shares at the end of blog posts I'm wondering the same thing about tracking shares. I've used AddThis in the past with success in tracking shares, but I wanted to see what other are doing or if there's a newer technique. The bottom line is that I want to try to see as much of the "social" as I can in GA. Thank you in advance!!
Reporting & Analytics | | Titan5520 -
Does analytics track an order two times by refresh on the confirmation-page?
Hi there,
Reporting & Analytics | | Webdannmark
I have a quick question. Does Google analytics track an order two times, if the user buys a product, see the confirmation page and then click refresh/click or back and forward again?
The order/tracking data must be the same, but i guess the tracking code runs for every refresh and therefore tracks the order two times in Analytics or does analytics know that it is the same order? Someone that can clearify this?Thanks! Regards
Kasper0 -
No Query parameter for site search
Hi Guys, I have enable site search for analytics a number of times. But this time it's the first time I came across a search with no query parameters. example.com/search/item/searchterm What is the most simple way to approach this? thank you!
Reporting & Analytics | | GetApp0 -
Where should I insert the code when I track an event on GA?
hi mozzers, I am trying to setup my first event to count the numbers of downloads of an infographic(pdf file) we just created on GA and after some research I figured that I should add this piece of code (below) but where exactly? <colgroup><col width="386"></colgroup>
Reporting & Analytics | | Ideas-Money-Art
| _gaq.push(['_trackevent', 'PDF', 'Download', 'name of file']); | Should I put it just in between _gaq.push(['_setDomainName', 'coit.com']); and _gaq.push(['_trackPageview']); ? Please provide details because I ve never done this before Thanks 🙂0 -
Is there any way to see how one my keywords ranked historically before I started tracking it?
Hello there! I'm in need of some historical data on some keywords as they relate to my site. Basically, I'd like to track which events have had the most impact on moving me through the rankings, but I wasn't using Moz at the time I had made some changes to my website... Is there any way to see how I ranked for a particular keyword at a given point in time? Thanks! Gene
Reporting & Analytics | | BGroup0