如何使用新的Google Analytics(分析)获取PHP中当前访问者的推荐人,付费/自然和关键字? [英] How to get the referrer, paid/natural and keywords for the current visitor in PHP with new Google Analytics?

查看:135
本文介绍了如何使用新的Google Analytics(分析)获取PHP中当前访问者的推荐人,付费/自然和关键字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道访问者是如何访问我的网站的。在之前的Google Analytics版本中,您可以使用他们的Cookie来实现这一点(请参阅为当前访问者获取引荐来源,付费/自然和关键字),但在Google Aanlytics的最新实施中,Cookie不再存在:它们已被单个_ga cookie取代。



有没有办法检索引荐来源付费/自然关键字使用Google Analytics或其他方法吗?

您必须找到其他分析解决方案或烘焙自己的cookie。
也许这个新项目可以帮助您:
https:// github。 com / dm-guy / utm-alternative /

I'd like information about how the visitor has come to my site. In the prior version of Google Analytics, you could use their cookies for this (see e.g. Get the referrer, paid/natural and keywords for the current visitor with Google Analytics), but in the newest implementation of Google Aanlytics, the cookies are not there any more: they have been replaced by single _ga cookie.

Is there a way to still retrieve information like referrer, paid/natural and keywords using Google Analytics or some other method?

解决方案

You will have to either find another analytics solutions or bake your own cookie. Perhaps this new project could help you: https://github.com/dm-guy/utm-alternative/

这篇关于如何使用新的Google Analytics(分析)获取PHP中当前访问者的推荐人,付费/自然和关键字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆