Jump to content

Hashtag tracking in analytics?


augis2003

Recommended Posts

Hi, as layered filters have hastag (#) in url, these url's is not tracked in google analytics. To track url's with hastag need modify ganalytics code. I found in internet what code must look like (location.pathname + location.search + location.hash]):

_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview', location.pathname + location.search + location.hash]);
maybe someone know and can advice, what file to edit and how add these lines to ganalytics module, to be able see url's with hastag?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...