venerdì, luglio 16, 2010

Google Analytics: Renaming the URL with_trackPageview

Well, the Google documentation is out of date so I thought I’d store this here. If you are using the latest version of GA and you would like to change the URL that is recorded, add this:

_gaq.push(['_trackPageview', "myPath/myFile"]);

This extremely handy bit of information was in the forums. (Google, put it in the documentation?)