Uninitialize Piwik for ajax navigation websites

Hello,

Is there a way to make Piwik stop tracking ajax navigation website pages , after it has already been initialized?

For what kind of situations:

  1. Ajax-navigation website.
  2. One of the pages adds Piwik script. Piwik is initialized and starts working.
  3. And then the user through ajax-navigation goes to another section of the site where Piwik shouldn’t work.
    How can I completely remove/uninitialize/destroy Piwik in this situation?
1 Like