Skip to main content
Answered

How can we opt out tracking?


Hey,

 

Is there a way to opt out tracking if the user does not want to send data? I have a toggle in my app that allows the user to disable analytics & tracking. Once the iOS SDK initialised, is there a way to opt out tracking? I tried to use the .logout() method in the SDK but it does not work. Events and updates are still sent to Intercom (which seems to be a bug?).

 

For example, Mixpanel allows us to do that: https://developer.mixpanel.com/docs/swift#opting-users-out-of-tracking/p>

 

It's great, and Intercom should offer the same.

Thanks,

Axel

Best answer by Eric Fitz

Hey @user413​, in terms of using the logout() method, this does work. It still calls the API, but the response will be a 404 because there is no user identified. Are you monitoring HTTP calls and seeing that Intercom’s API is still being hit? If that's the case, no data is actually being sent, so this is something of a "false friend" here!

View original
Did this topic help you find an answer to your question?

3 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • March 19, 2021

Hey @user413​, in terms of using the logout() method, this does work. It still calls the API, but the response will be a 404 because there is no user identified. Are you monitoring HTTP calls and seeing that Intercom’s API is still being hit? If that's the case, no data is actually being sent, so this is something of a "false friend" here!


  • Author
  • New Participant
  • 4 replies
  • March 19, 2021

Thanks @eric f11​ for your answer. I’m not yet tracking my HTTP calls but I’m seeing that your dashboard updates the user after I call the logout(). When I update the name or email, I see it’s reflected live on your app. Really strange.


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • March 19, 2021

Have you contacted our Support team about this, @user413​? It strikes me as an issue specific to your config and would likely require the sharing of logs. A conversation with our Support team would definitely be the most helpful and efficient way for you to resolve this.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings