跟踪主题标签 &GA 中的查询字符串 [英] Tracking Hashtags & Querystrings in GA

查看:27
本文介绍了跟踪主题标签 &GA 中的查询字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些贴纸,其中包含我网站的 URL 二维码(例如:http://qrcode.kaywa.com/img.php?s=5&d=http%3A%2F%2Fissocial.net%23qr).我会把它贴在街上.如你所见,如果有人阅读了这个二维码,他会转发到http://issocial.net/#qr 页面.

I have a few stickers which contain my website's URL QR Code (like this : http://qrcode.kaywa.com/img.php?s=5&d=http%3A%2F%2Fissocial.net%23qr) . I will stick it to streets. As you can see if someone read this QR code, he will forward to http://issocial.net/#qr page.

现在我想跟踪通过这个二维码贴纸访问我网站的人.遗憾的是,Google Analytics 没有跟踪主题标签.

Now i want to track people who reach my site via this QR Code Stickers. Sadly, Google Analytics isn't tracking hashtags.

也许我可以用查询字符串来做(比如:http://issocial.net/?qr=true) .但 GA 并不仅仅跟踪一个查询字符串.

Maybe i can do it with querystring (like : http://issocial.net/?qr=true) . But GA isn't tracking just one querystring.

那么,您对此有什么想法吗?

So, have you any idea about this?

推荐答案

您可以结合使用 _setAllowAnchor 和 _setCampMediumKey 来强制 Google Analytics (a) 使用您的哈希标签作为查询字符串和 (b) 使用您的 'qr' 代替正常的 utm _medium(或任何其他活动变量).

You can use a combination of _setAllowAnchor and _setCampMediumKey to force Google Analytics to (a) use your hash tag as a query string and (b) use your 'qr' in place of the normal utm _medium (or any other of the campaign variables).

更多信息:http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html

这篇关于跟踪主题标签 &GA 中的查询字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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