Google应用引擎网站的多个域 - 每个域的分析 [英] Multiple Domains for Google app engine site - Analytics for each domain

查看:135
本文介绍了Google应用引擎网站的多个域 - 每个域的分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,所以基本上我正在为我所在的公司测试出一个新的营销理念,购买10个左右的关键搜索词(例如carservice.com carmot.com hondaservice.com)并将其链接起来的域名所有到一个网站,托管在谷歌应用程序引擎。我有一点工作,但我现在想要得到谷歌分析,以显示有多少人点击每个域名,所以我知道如果它的价值更新。如果没有人访问,不值得支付。
有没有办法,我可以将每个域发送到同一应用程序引擎帐户托管的不同页面?这样我可以将其发送到一个页面,该页面具有域名唯一的分析代码,然后将其重定向到主站点。



谢谢

解决方案

假设您正在动态生成您的网页,您可以检查网域的请求网址,然后在该网页中插入相应的Google Analytics(分析)令牌,然后再投放。


Ok, so basically I am testing out a new marketing idea for the company I work for, buying 10 or so domains with key search words relating to the business (e.g carservice.com carmot.com hondaservice.com) and linking them all to one site, hosted on google app engine. I have got this bit to work but I now want to get google analytics to show how many people clicked on each domain so I know if its worth renewing. If no one visits it, its not worth paying for. Is there a way I can send each domain to a different page hosted on the same app engine account? that way I could send it to a page which has a analytic code unique to the domain and then redirect it to the main site.

Thanks

解决方案

Assuming you're dynamically generating your pages, you can check the request URL for the domain and insert the appropriate Google Analytics token in the page before serving it.

这篇关于Google应用引擎网站的多个域 - 每个域的分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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