Questions tagged [analytics.js]

Google Analytics's JavaScript snippet that measures how users interact with your website providing more flexibility than its successor ga.js.

The analytics.js JavaScript snippet is a new way to measure how users interact with your website using Google Analytics. It is similar to the previous script, called ga.js, but offers more flexibility for developers to customize their implementations.

71 questions
61
votes
3 answers

what are the values in _ga cookie?

I am using universal analytics. universal analytics creates first party cookie _ga _ga=1.2.286403989.1366364567; 286403989 is clientId 1366364567 is timestamp what is 1 and 2 in _ga cookie?
karthick
  • 5,410
  • 11
  • 46
  • 87
52
votes
19 answers

Events not being tracked in new Google Analytics (analytics.js) setup

I have a website that I am using the new Universal Analytics (analytics.js) to track. Everything is setup and working (pageviews, referrals, etc.) using the following code snippet: