You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* See example of usage [here](https://github.com/thunderheadone/one-sdk-react-native/tree/master/example/src/App.tsx#L87)
82
99
83
100
### Get tid
84
101
To get the tid for the current app, call the following public method:
85
102
```javascript
86
103
One.getTid();
87
104
```
88
-
* See example of usage [here](https://github.com/thunderheadone/one-sdk-react-native/tree/master/example/src/App.tsx#L78)
105
+
* See example of usage [here](https://github.com/thunderheadone/one-sdk-react-native/tree/master/example/src/App.tsx#L101)
106
+
107
+
### Opt an end-user out of tracking
108
+
To opt an end-user out of all tracking options, when the end-user does not give permission to be tracked in the client app, call the following method:
109
+
```javascript
110
+
// Opts out of all tracking options.
111
+
One.optOut(true);
112
+
```
113
+
114
+
To opt back in, call the following method:
115
+
```javascript
116
+
// Opt in for all tracking options.
117
+
One.optOut(false);
118
+
```
119
+
120
+
#### Opt an end user out of city country level tracking
121
+
To opt an end-user out of city/country level tracking, call the following method:
122
+
```javascript
123
+
// Calling this will opt the end-user back in for all tracking.
124
+
One.optOutCityCountryDetection(true);
125
+
```
126
+
127
+
#### Opt an end user out of keychain Tid storage (iOS only)
128
+
To opt an end-user out of all keychain Tid storage, call the following method:
129
+
```javascript
130
+
One.optOutKeychainTidStorage(true);
131
+
```
89
132
90
133
### Access debug information
91
134
To configure logging, call the following method:
92
135
```javascript
93
-
One.setLogLevel(One.LogLevelAll)
136
+
One.enableLogging(true)
94
137
```
95
-
* See example of usage [here](https://github.com/thunderheadone/one-sdk-react-native/tree/master/example/src/App.tsx#L31)
138
+
* See example of usage [here](https://github.com/thunderheadone/one-sdk-react-native/tree/master/example/src/App.tsx#L25)
96
139
97
140
## Questions or need help
98
141
99
142
### Thunderhead ONE Support
100
-
_The Thunderhead team is available 24/7 to answer any questions you have. Just email onesupport@thunderhead.com or visit our docs page for more detailed installation and usage information._
143
+
_The Thunderhead team is available 24/7 to answer any questions you have. Just submit a ticket [here](https://support.thunderhead.com/hc/en-us/requests/new) or visit our docs page for more detailed installation and usage information._
101
144
102
145
### Salesforce Interaction Studio Support
103
146
_For Salesforce Marketing Cloud Interaction Studio questions, please submit a support ticket via https://help.salesforce.com/home_
0 commit comments