You are reviewing MouseStats documentation: Take a look to the product!

Handling heavy ajax page updates in visitor playbacks [depreciated]

There is not longer need to use this function. MouseStats is compatible with major JavaScript frameworks without addition settings.

In most cases, MouseStats will handle all ajax requests without any problem. but in some cases, if you feel there is some problems with ajax requests and playbacks are not playing correctly, you need to trigger MouseStats API when your page has been changed.


You can start a new recording when your page has been changed. Sometimes using Ajax, most of the page will be changed and you need to start a new recording session for playback. You need to fire this MouseStats JavaScript API on page change/or ajax complete:

   setTimeout("try { MouseStatsVisitorPlaybacks.NewRecording(); } catch (e) { }", 200); //Start New Recording