1

Is there a way to parse user information from Analytics, like referral, paid traffic, campaign, and so. With the old Analytics code it was as simple as parsing the cookie, but the new Analytics system does not save the user information in a cookie.

Reading the documentation I'd manage to get the client id, but that's all:

ga(function(tracker) {
  console.log(tracker.get('clientId'));
});

Is there a way to do this in javascript?, there was a suggestion of using both old a the new system so I can populate the cookie, but that seems a bit ugly to me.

Community
  • 1
  • 1
DomingoSL
  • 14,920
  • 24
  • 99
  • 173

0 Answers0