n92
n92

Reputation: 7602

How to get the landing page URL using Google Analytics _UTM Cookies

I need to find the landing page url using google analytics cookies, how to do this.

Upvotes: 0

Views: 239

Answers (2)

Simon Hill
Simon Hill

Reputation: 26

The landing page is not in the GA.js cookies, you will need to set it with your own.

Upvotes: 1

Petr Havlik
Petr Havlik

Reputation: 3317

Vinay,

if you are using Google Analytics, you can simply parse the cookie. See this parses on github for example, that should do the trick.

if you are using Universal Analytics, this information is no longer available as UTM cookies were replaced and the whole hit collection mechanism is now different.

Hope this helps.

Upvotes: 0

Related Questions