Search code examples
google-analyticsanalytics

Does google Analytics do any kind of reporting on ajax dynamic content?


All my dynamic pages use a #! hashtag.

Does google analytics offer any kind of reporting on dynamic content?


Solution

  • You can tell GA to register a url. So just use this in combination with window.location whenever you make an AJAX call.

    _gaq.push(['_trackPageview', '/some-page']);
    

    You may find the GA API useful for questions like this.