Google Analytics missing __utmz cookie

后端 未结 4 1558
天涯浪人
天涯浪人 2021-01-02 10:54

I have universal analytics installed on my website, and want to parse the __utmz cookie to get referral info. However, I never see this cookie set.

Has

4条回答
  •  抹茶落季
    2021-01-02 11:16

    It seems like with Universal Analytics, this cookie has disappeared, and you only get a single _ga cookie.

    Source: https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage

    Also mentioned here: How to get the referrer, paid/natural and keywords for the current visitor in PHP with new Google Analytics?

    Also given that analytics is primarily a tool to collect aggregated information, I couldn't find (and I doubt) that there is any way to query GA to get this info back, given the _ga cookie.

提交回复
热议问题