: Google Analytics events: set page url parameter Is it possible to set custom page url parameter (named utmp in request), when tracking events with Google Analytics? I have set custom url for
Is it possible to set custom page url parameter (named utmp in request), when tracking events with Google Analytics?
I have set custom url for tracking pages ['_trackPageview', 'www.my.url.com/...'] But that does not have effect for events.
More posts by @Goswami781
2 Comments
Sorted by latest first Latest Oldest Best
You can use this:
_gaq.push(['_set', 'page', '/mypage']);
_gaq.push(['_trackPageview']);
where /mypage is your virtual URL. Make sure you set the page before _trackPageview.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.