How to disable web analytics from tracking the data | Community
Skip to main content
May 5, 2022
Solved

How to disable web analytics from tracking the data

  • May 5, 2022
  • 1 reply
  • 2452 views

We use web analytics for tracking the pages in our organization mobile app. But as we are going to introduce a mechanism to disable tracking based on the user preference, would like to know how to disable it ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MRG01

@log4john use custom code based on user selection and set s.abort to disregard analytics call. Analytics call will not trigger. 

1 reply

Neelabh_
Level 2
May 5, 2022
log4johnAuthor
May 5, 2022

Thanks Neelabh for the answer. 

 

We are not aware of the tool, but we need to switch off tracking web analytics programmatically. Basically we want to ask the user on whether he would like to be tracked or not, based on on his input we will either track the user or disable tracking. Do you have any idea  ? 

MRG01Accepted solution
Level 2
May 11, 2022

@log4john use custom code based on user selection and set s.abort to disregard analytics call. Analytics call will not trigger.