Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to disable web analytics from tracking the data

Avatar

Level 1

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 ?

3 Replies

Avatar

Level 1

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  ? 

Avatar

Level 2

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