Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
18 votes
Accepted

How to calculate unique number of events, one event per user in Google Analytics?

Another way of asking your question is: "How many users had at least one download during this time period?" You can use "segments" to answer this question. Create a segment only for users ...
user avatar
6 votes
Accepted

Can a bounce rate drop from 50% to 10% after event tracking is added in Google Analytics?

Google says: By default, the event hit sent by _trackEvent() is considered an interaction hit, which means that it is included in bounce rate calculations. So if someone triggers one of your ...
user avatar
  • 1,925
5 votes
Accepted

Is there a way to get rid of Google Analytics event tracking spam?

Recently there has been a spate of Google Analytics spammers. They typically: Send requests directly to Google's collector script without ever hitting your website. Put advertisements for their ...
user avatar
4 votes

How to know if visitors are reading my long-form articles?

The solution that has been working for me, is to check for the appearance of a specific DOM element's appearance in view. For instance, you may have a #comment element after the article content. So ...
user avatar
  • 41
4 votes
Accepted

Events as Goals in Google Analytics for funnel visualization & flow

Of course, you can. It's as simple as creating the tags in Google Tag Manager and set up those events in Google Analytics as Goals. However, in this scenario, you can send the data to Analytics as ...
user avatar
  • 3,787
3 votes

Event tracking for Vimeo in Google Tag Manager

I do not use that plugin because it does not work with my other plugins. But I do track everything in GA and I deploy the video player through GTM. This is the code I use in GTM http://codepen.io/...
user avatar
3 votes
Accepted

How can I track outbound links with Google Analytics?

First of all, you need to make sure you are using the same Analytics version tracking code. In your question, the main tracking code uses gtag.js but the event code is based on analytics.js. You ...
user avatar
  • 3,787
3 votes
Accepted

Google Analytics events not working

The GA tracking code snippet example is Global Site Tag gtag.js version of GA, however the event tracking code format in your example is Universal analytics.js format and also should not need ...
user avatar
  • 3,358
3 votes

Lost Referrer with New Google Analytics Account After Region Redirect in SPA with window.location.href

There are at least two viable things you could do to fix it. One would be rewriting your redirect to something that would preserve the referrer. I would suggest moving the redirecting logic to backend ...
user avatar
  • 1,166
2 votes

How do I track automatic translation of web page?

The Google Translate Toolbar only appears to send analytics events for the old (non-universal) analytics. I developed the following workaround. Just: Ensure you set gaTrack: true and gaId: 'xxx' in ...
user avatar
2 votes
Accepted

Google Analytics Ecommerce transaction tracking by UserID for Transaction?

Providing that you're only passing non-personal, anonymous information as covered here, there shouldn't be any downsides. This could help identify repeat purchases by individuals, as well as provide ...
user avatar
  • 15k
2 votes

Get total for User Timings in Google Analytics

Make custom Reports with recently released Google Docs Add-On for Google Analytics more here. No need to learn Apps Scripts. If you need more robust solution to integrate with your app use Google ...
user avatar
2 votes
Accepted

Tracking rotating Ads with Google Tag Manager

You could add data-attributes to your ad link if you are using HTML5: <a href="example.com" class="someclass" data-adposition="Banner Ad - Top" data-adnamesize="...
user avatar
2 votes
Accepted

How would Google Analytics track different user groups with a custom dimension and metrics?

You are tracking how all registered and all unregistered users behave, not how individual users behave. A user changing from one group to another will change which group any data collected from that ...
user avatar
  • 1,925
2 votes

Unidentified events in google analytics

Take a look at the Top Events report in Google Analytics. Add Page as a secondary dimension and that might help you figure out where those unknown events are coming from. Furthermore, it's possible ...
user avatar
  • 203
2 votes

Unidentified events in google analytics

Use the list of events in the realtime report. It will tell you what each and every event actually is. You can access it with the "view" link on the realtime events report:
user avatar
2 votes
Accepted

Events are being tracked but no corresponding Goals (Goal conversions are equals zero)

I found the solution to the problem myself and I would like to post the answer in here just in case someone goes through the same struggle. Basically the Goal value did not match the value in the ...
user avatar
  • 2,378
2 votes
Accepted

Event Tracking in Universal Analytics

No, you don't need to make any changes. I'm assuming you are invoking the library and creating the tracker through the standard method. Your code should look something like this: <button onclick="...
user avatar
  • 2,523
2 votes
Accepted

Tracking an e-commerce conversion with Google Analytics - Analytics.js

Go to your Google analytics Admin page and check if your VIEW(s) has ecommerce enabled (Set to ON). Also make sure you have created a Goal to track conversion to that "thank you" Page. If you use a ...
user avatar
  • 2,378
2 votes

Google Tag Manager fire event when element id/class is on screen

There are three steps to the way I would do this. Add code to the error reporting block that pushes an event to the Data Layer. Create a Google Tag Manager Custom Trigger that fires when this custom ...
user avatar
  • 226
2 votes
Accepted

GA Event or Dimensions?

But this will inflate my pageview count thus i will need to create/edit views and exclude this criteria. The best way to handle this use-case to to submit your event as a non-interactive event in ...
user avatar
  • 1,108
2 votes
Accepted

Google Analytics to only track specific events

Yes, you can track only events and not pageviews. The easiest way to add any tracking is to have the clients use Google Tag Manager and give you access there. You can then track just events to your ...
user avatar
  • 1,900
2 votes
Accepted

Google Analytics funnel with event step and destination as goal

Unfortunately Google Analytics goal funnels are pretty limited: you can only attach them to destination goals, and they can only consist of pageviews. (The "required" checkbox, also, only determines ...
user avatar
  • 2,001
2 votes

Phone call event tracking code not working

Goal verification is not always accurate, it's based on the past 7 days of data and depending on the sample size of data, it may be too small. Are you seeing the events tracked in the Behaviour > ...
user avatar
  • 3,358
2 votes

ga events api - Which guidelines should I follow

They're both actually the same. The second one in your question is just an abstraction - it shows less data but if you look farther down you can see they're setting app_name and screen_name where you ...
user avatar
  • 1,900
2 votes

How to track from which area of ​the website does the users enter a specific page?

You may try Google Analytics, link here Under Behaviour → Behaviour Flow You may try Mouseflow, try this
user avatar
  • 139
1 vote

Why can't I get event tracking to work with Google Analytics

I solved it. It seemed to be a combination of things bad code - there were 2 instances of what I wanted to track displaying on the page but 3 in the code and I didn't spot it.[Bad code in this case ...
user avatar
1 vote
Accepted

How to test Google Analytics in firefox browser?

I just managed to check the google analytics parameters in firefox. Hope this helps. Open firefox browser->Tools->WebDeveloper-> webConsole You would be prompted with a seperate or autofitted window. ...
user avatar
  • 263
1 vote

Google Analytics Event Tracking Real-time

If your even tracking code is correct then they should show up. To troubleshoot do this: 1) Load the page that has an "event" on it using Chrome. (Page with a link that includes tracking code.) 2) ...
user avatar
  • 3,638
1 vote

Google Analytics not tracking clicks

When you are tracking events, they will not show up in standard reports for about 24 hours (usually less) even though you can see them right away in Real-Time. You mentioned that "they all work fine", ...
user avatar
  • 2,523

Only top scored, non community-wiki answers of a minimum length are eligible