Does Google Analytics calculate an Ajax request?

In the finished document, I use this script

jQuery.ajax({ url:"http://www.other_web_site.com/", type:'POST', success: function(data) { // do nothing } }) 

www.other_web_site.com uses Google Analytics. Will Google Analytics +1 Visit?

If not, how can I tell him?

+4
source share
2 answers

Google Analytics will calculate this. However, it should be requested, as you described, in which all pages are accessible.

+2
source

In heavily JavaScript-dependent web applications, it cannot collect complete information about AJAX events, but there are tutorials on how to manually transfer data to Google Analytics to track such events.

This tutorial may be helpful.

In addition, this article from Google explains more about how to enable AJAX event tracking (see Pushing Functions).

+3
source

All Articles