Questions tagged [event-tracking]

Google Analytics Event Tracking is used to collect data about interactions with your content.

Events are user interactions with content that can be tracked independently from a web page or a screen load. Downloads, mobile ad clicks, gadgets, Flash elements, AJAX embedded elements, and video plays are all examples of actions you might want to track as Events.

Although Event tracking requires a little extra work to set up, we strongly recommend you use it. Events are a flexible way to collect data about interactions specific to your site or app that might not otherwise be tracked.

Documentation Refrence:

515 questions
17
votes
3 answers

Does Pinterest button have a callback?

I need to unlock content when someone shares the post with pinterest, and I can't find a callback function on pinterest button. Is there any way to do this?
Laura
  • 281
  • 2
  • 7
15
votes
4 answers

Firebase dynamic links campaign tracking not working

At work we are trying to use the optional campaign tracking UTM arguments when creating dynamic links through the firebase portal. The dynamic links are working fine, and as far as I can tell from all the official documentation, just adding the UTM…
13
votes
3 answers

Google Analytics Async: Events Tracking Callback?

I wish to use event tracking to record clicks on a specific type of link to another website. I am using jQuery, and the code I currently have is: $('a.website').click(function(event) { var href = $(this).attr('href'); try { …
Matt Austin
  • 2,613
  • 1
  • 27
  • 32
12
votes
1 answer

How to use Google Analytics and event-tracking for tracking user behaviour in a Shiny application?

I developed a Shiny application, and I would like to track user behaviour (e.g. on which buttons did the user click, which inputs did they change, ...) using Google Analytics. I found these two interesting…
AES
  • 175
  • 8
11
votes
3 answers

How do I set appVersion for Google Analytics Event tracking

When I try to set the appVersion in google analytics, then my event tracking stops working. Specifically, I'm trying to include the app version with event tracking so I can know which version of the app caused an event. I've tried setting the app…
SneakyBeagle79
  • 321
  • 2
  • 9
9
votes
3 answers

Event Tracking in GA not firing

I've added the folowing code into my JS to track a button click: _gaq.push(['_trackEvent', 'category', 'action', 'label']); I've hit a breakpoint on it using teh Chrome dev tools and _gaq definitely resolves to the GA object and I can even step…
LDJ
  • 6,896
  • 9
  • 52
  • 87
9
votes
0 answers

How to identify and track multitouch gestures in React.js?

There is a lot of documentation about tracking multitouch gestures in React Native, but almost nothing for React.js. Is it recommended to use a library? if it is, which one? I want to identify and track gestures like pinch, pan, swipe, zoom.
9
votes
1 answer

How to track click events with google analytics

I'm trying to record events when users click specific elements, but no events are being recorded. Here's my code: /* JQUERY PREPENDED ALREADY... */ /* STANDARD GOOGLE ANALYTICS CODE…
emersonthis
  • 32,822
  • 59
  • 210
  • 375
8
votes
1 answer

Reporting URL of downloads in Data Studio when using Google Analytics 4 automatic enhanced measurement events?

I have setup a new Google Analytics 4 property and have enabled enhanced tracking, which records all downloads automatically. When using Google Data Studio, I can see 'file_download' events (so it's definitely working) and use this data to build my…
8
votes
4 answers

gtag Purchase Event ignored on Google Analytics

I'm succesfully tracking some events with gtag.js on Google Analytics, with the exception of "purchase" event. Using GTM/GA chrome plugin I've checked that all events are tracked correctly, "purchase" included. The problem is that "purchase" is not…
Massimo Variolo
  • 4,669
  • 6
  • 38
  • 64
7
votes
2 answers

Problems with tracking pixels and Gmail proxy

I am trying to implement a custom Tracking Pixel for Emails sent out from wordpress. Thanks to these post: Tracking email with PHP and image Tracking email opens with a real image and…
MrWeix
  • 397
  • 1
  • 6
  • 17
7
votes
2 answers

What is the difference between organic and non-organic App installs?

I've read on different analytics website but couldn't understand the difference. Companies charge for non-organic installs so I'm worried about that before using those.
Safwan Ahmed
  • 205
  • 2
  • 7
7
votes
6 answers

target=_blank doesn't work with GA outbound link tracking

I want to track clicks on outbound links and implemented the following code: GA code var trackOutboundLink = function(url) { ga('send', 'event', 'outbound', 'click', url, {'hitCallback': function () { document.location = url; } …
6
votes
1 answer

Can I track multiple Google Analytics events at once?

I am using Event Tracking on our conversion form to pass the values of a few drop-downs to Google Analytics as events. Our conversion form is an inquiry form for our online degree programs. I only want to pass the values of the fields on form…
6
votes
2 answers

Facebook SDK Android AppEventsLogger NullPointerException on flush

I integrated the current FacebookSDK for Android v3.5 for tracking purposes. You can track app installs by calling com.facebook.AppEventsLogger.activateApp(context, YOUR_APP_ID); So far no problems, i can see these events are shown on the…
1
2 3
34 35