Minhaj Mehmood bio photo

Minhaj Mehmood

Full Stack Developer

Email Twitter Google+ LinkedIn Tumblr Github

If you’re working with spring/grails flows!! tracking page views of each step of flow as different url with google analytics could be real a pain.

However to succeed in dealing with this issue use _trackPageview method along with a URL in order to track different url than original(in address bar). e.g.

_gaq.push(['_trackPageview', '/checkout/step1']);

Instead of

_gaq.push(['_trackPageview']);