Quantcast
Viewing all articles
Browse latest Browse all 6

Google analytics virtual page views and non standard event goals

With dynamic generated content, div overlays and Ajax generated pages, traditional page view count in Google analytics might not represent the true picture. For example when a user clicks a link to join a site and is presented with a div overlay membership submission form; should this count as a page view? Whether or not an event should count as a page view is up to the site administrator but Google Analytics allows you to register any event as a page view via the API method:
 _trackPageView(uri)
Example:
_gaq.push(['_trackPageview', '/membership/join']);

Viewing all articles
Browse latest Browse all 6

Trending Articles