Disable Google Analytics on specific pages

0

I want to let my users add Google Analytics to their respective pages, ex: /profile/joao .

As a SPA, if I initialize in the user's profile, the tracking of it will "leak" to the rest of the site having access to all the pages that the user navigated, not just his profile as desired. >

  

ps:   I tried the window['ga-disable-XX-XXXXXXXX-X'] = true; velop approach but it did not work.

    
asked by anonymous 20.02.2018 / 14:13

0 answers