跟踪Hashtags& GA中的Querystrings [英] Tracking Hashtags & Querystrings in GA

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

问题描述

我有几张贴有我网站网址QR码的贴纸(像这样: http://qrcode.kaywa.com/img.php?s=5&d=http%3A%2F%2Fissocial.net%23qr )。我会坚持到街道。正如你可以看到有人阅读这个QR码,他会转发到 http://issocial.net/#qr页面。

现在我想跟踪通过此QR码贴纸到达我网站的用户。可悲的是,Google Analytics(分析)没有跟踪主题标签。

也许我可以用querystring来做到这一点(例如: http ://issocial.net/?qr = true )。但GA并没有跟踪一个查询字符串。



所以,你有什么想法吗?

解决方案

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



更多资讯: http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html


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.

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

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?

解决方案

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).

More here : http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html

这篇关于跟踪Hashtags& GA中的Querystrings的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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