Sample code
Txt.optOutTracking()

This function opts you out of tracking.

Txt.optOutTracking(mode='essential')

The opt out function takes the following arguments:

Argument

Type

Description

mode

string
optional

Should be either 'essential' or 'none'. Choosing 'essential' will still show experiences wherever possible without placing cookies. Choosing 'none' will opt out of all experiences.