javascript - Google Analtyics adds hashtag to browser url on click? -
when adding google analytics our site, everywhere using hashtag example dropdown (bootstrap.js, jquery) of item, hastag gets added url in browser. there anyway remove this? using angulartics angularjs.
for example, href="#collapsetwocheckout" results in http://yourdomain.org/#/collapsetwocheckout
when removing ga script, goes away. ideas?
thanks.
it's not google analytics adds hashtag url, it's function in angular ng-route module. i'm not sure why occurs when have analytics loaded, can rid of hashtag removing ng-route module angular installation or set html5mode "true" in configuration of angular application.
maybe should read this: https://stackoverflow.com/a/14320468/2274628
Comments
Post a Comment