简体   繁体   English

如何确定用户来自页面的关键字?

[英]How to determine keywords from which the user came to the page?

I'm running a Google Adwords campaign, and I would like to know where my users came from. 我正在运行一个Google Adwords广告系列,我想知道我的用户来自哪里。 I have a form allowing them to leave an application, and I need to attach the information about the keywords to the application user leaves. 我有一个允许他们离开应用程序的表格,我需要将有关关键字的信息附加到应用程序用户离开。

Now I do two things: 现在我要做两件事:

1. Attach information from $_SERVER['HTTP_REFERER'] to the form . 1.将来自$ _SERVER ['HTTP_REFERER']的信息附加到表单 And I have my applications coming in the following format: 我的应用程序采用以下格式:

Name: name
Skype: skype
Referer: http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-6279739740619787&output=html&h=250&slotname=4467623023&adk=125461787&w=300&lmt=1384570112&flash=0&url=http%3A%2F%2Fwww.softmozer.com%2Fdownloading-android%2Fviber-mobile&dt=1384598912575&bdt=1666&shv=r20131112&cbv=r20130906&saldr=sb&prev_slotnames=6478798083&correlator=1384598912354&frm=20&ga_vid=322040364.1384598912&ga_sid=1384598912&ga_hid=825269062&ga_fc=0&u_tz=480&u_his=2&u_java=1&u_h=640&u_w=360&u_ah=640&u_aw=360&u_cd=32&u_nplug=0&u_nmime=0&dff=arial&dfs=12&adx=0&ady=397&biw=980&bih=1543&oid=3&ref=http%3A%2F%2Fwww.softmozer.com%2Fdownload-android%2Fviber-mobile.html&vis=1&fu=0&ifi=2&dtd=24&xpc=8EEeOm8Hca&p=http%3A//www.softmozer.com

But this way is bad for two reasons: 但是这种方法很糟糕,原因有二:

  • HTTP_REFERER doesn't work in all browsers. HTTP_REFERER不适用于所有浏览器。
  • Don't really know if getting keywords is possible in cases of all URLs like in the example. 真的不知道在所有URL(如示例中)的情况下是否都可以获取关键字。

2. Set up goals in Google Analytics . 2.在Google Analytics(分析)中设置目标 It allows me to know how many goals were accomplished from a specific keyword. 它使我知道一个特定关键字完成了多少个目标。 But it doesn't allow to determine from which keyword I received that specific application. 但这不能确定我从哪个关键字收到了该特定应用程序。

What way would you suggest to determine keywords from which the user came to the page? 您会建议采用哪种方法来确定用户来自页面的关键字?

Don't rely on referrer data. 不要依赖引荐来源数据。 Google switched all their traffic to HTTPS recently, so no browsers will feed you referrer data. Google最近将所有流量都切换到了HTTPS ,因此没有浏览器会向您提供引荐来源数据。 This is a browser security feature and not a Google filter, incidentally. 顺便说一下,这是浏览器的安全功能,而不是Google过滤器。 You can read more about why at Can you at least get the domain of the https referer? 您可以阅读以下内容的更多信息:为什么至少可以获取https引用的域?

Your Adwords and Analytics account should be linked as described here . 您的AdWords和Analytics(分析)帐户应按此处所述进行链接 If they are linked, Google will feed keyword data (even from HTTPS) into your Analytics and you can track it there. 如果它们被链接,Google会将关键字数据(甚至来自HTTPS)输入到您的Google Analytics(分析)中,您可以在那里进行跟踪。 This is done through a token Google passes so you can't get any data directly here. 这是通过Google传递的令牌完成的,因此您无法在此处直接获取任何数据。 If you want it you will have to use the Google Analytics API to pull it. 如果需要,则必须使用Google Analytics(分析)API来提取它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM