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?
If you want more than see how many times a hashtag was used, you can see Summary tab and Analysis tab — they store all numbers about your Twitter hashtag. Summary tab is where you can see the summary of the most important data about your hashtags: The most popular hashtag mentions. Latest hashtag mentions.
How to search hashtags on Facebook. The simplest way is to search for a specific hashtag from your search bar, for example, #NBAFinals or you can type facebook.com/hashtag/example into your browser.
Google Analytics's default implementation ignores the anchor, ie, everything after #, so you need to pass through the value manually. _trackPageview
can accept a 2nd parameter that allows you to pass pageview values manually.
By default, GA's pageview is just location.pathname+location.search
. So, all you need to do is pass through that with location.hash
.
_gaq.push(["_trackPageview",location.pathname + location.search + location.hash]);
Universal Analytics
With the newer UA API, the command should be:
ga('send', 'pageview', { 'page': location.pathname + location.search + location.hash});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With