Skip to main content

Ello 👋🏻

I'm currently trying to opt out of tracking using the Ampli SDK, but I'm having trouble finding clear instructions on how to do so. I saw a similar concept in the JavaScript SDK documentation, but I'm not sure how to implement this using the Ampli SDK. Can you provide some guidance on how to opt out of tracking using the Ampli SDK?

https://www.docs.developers.amplitude.com/data/sdks/javascript/#opt-users-out-of-tracking

Have you tried this method? https://www.docs.developers.amplitude.com/data/sdks/typescript-browser/#opt-users-out-of-tracking


Thanks @Jon Shek! Please keep us posted if you need additional help @Guardian Score😃


Good day all, happy to report I was able to resolve this!  @Jon Shek @Jeremie Gluckman 

After taking another look at the Ampli documentation, I noticed there was a client object within the Ampli instance.

ampli.client.setOptOut(true);

Appreciate y’all pointing me in the right direction.
Cheers!
Josh


Great! Thanks for the update @Guardian Score


Reply