Skip to main content

All Questions

1 vote
0 answers
234 views

Google Analytics gtag Event Tracking for PDF Files with javascript

I'm trying to add a simple solution to add event tracking for PDF files to google analytics. I can't figure out, why the events are not tracked. If I manual add: <a href="/my-file.pdf" ...
seesn's user avatar
  • 21
1 vote
1 answer
1k views

Tracking user link clicks with google analytics

I have created an affiliate marketing website. Here users will register on my website and shop, however the shopping link will be of amazon. I need to know how to set up Google Analytics so that it ...
makrand patne's user avatar
0 votes
0 answers
24 views

Analytics event tracking issue

I'm event tracking read more events on category pages. Every category page has an intro text. Some category pages has long text, so a small part is vissible to read. To show the complete intro there ...
Bham's user avatar
  • 319
0 votes
2 answers
5k views

OnClick - Uncaught SyntaxError: Invalid or unexpected token

I'm having trouble getting an OnClick event to send back to Google(Universal) Analytics. Here's the line in question: <a href= “link-to-asset-goes-here” onclick="ga(‘send’, ‘event’, ‘Button’, ‘...
Tony6D's user avatar
  • 3
1 vote
1 answer
398 views

w3c Validation with Google Analytics onclick Events

Firstly, while stackOverflow has helped me many times before, this is my first ever posted question. Thus, please be gentle (I'm still new to coding) and provide any suggestions if I am doing ...
Axel's user avatar
  • 11
0 votes
1 answer
559 views

How much time it takes to update google analytics reporting for event tracking?

I have implemented onclick javascript code into my website on different places with different parameters like following: onClick="ga('send', '_trackEvent', { eventCategory: 'Property Listing Search', ...
Vinit Kumar Jain's user avatar
0 votes
3 answers
242 views

How to track clicks in Google Analytics

I wanted to track the clicks on my contact form which is available on a different page. I know it is pretty easy. But along with that click tracking, I also wanted to track the page name (this will ...
Guruswamy K's user avatar
0 votes
1 answer
981 views

Google Analytics onClick Events Tracking not working

I have a series of links that I am trying to track as GA Events when the particular element is clicked. I've implemented this according to the guide here: https://developers.google.com/analytics/...
user3429646's user avatar
0 votes
2 answers
2k views

target="_blank" not opening new page due to Google Analytics cross domain javascript link tracking

I have probably screwed up the onClick javascript at leanstartupcircle.com. I am trying to add linktracking with javascript to all outbound links that I've tagged with an attribute. Whatever I did is ...
TLK's user avatar
  • 1,770
0 votes
2 answers
3k views

Google Analytics Event Tracking - compare multiple events

basically I have set up event tracking across my website. I simply want to be able to compare two events, if this is possible? So I want to see who clicked on X and then what number of those then ...
Tim's user avatar
  • 7,056