How to disable the whole Tealium Mobile library? ( Opt-out )

Gold Contributor
Gold Contributor

Hi There,

 

how can the Tealium mobile SDK v5 be disabled completely? I need this for a privacy opt out feature.

 

Would be nice to have ah short code example for Android, IOS and Windows Phone.

 

greetings

2 REPLIES 2

How to disable the whole Tealium Mobile library? ( Opt-out )

Moderator
Moderator
Hi @MountainMaster,

Here are the methods available in v5 to destroy the Tealium instance. You can call this method once your users have opted out:

http://tealium.github.io/tealium-ios/Classes/Tealium.html#//api/name/destroyInstanceForKey:
http://tealium.github.io/tealium-android/com/tealium/library/Tealium.html#destroyInstance(java.lang....

There is no such method currently for Windows. Another alternative, which incidentally would also work on Windows, would be to add a new key to the data layer of "optout=true" or similar, and use load rules in Tealium to prevent any tags from loading if this data layer key is set. Tealium would still load, but no data would be collected or sent to any 3rd party vendors.

Thanks,

Craig.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.

How to disable the whole Tealium Mobile library? ( Opt-out )

Gold Contributor
Gold Contributor
thank you very much. exactly the answer i've been looking for.

Greetings
Public