Get current state
Use this method to get the current state of tracking opt-out for the current user. Use this to check if a customer has opted out of tracking or not.
Get current state
Example
1
ADDWISH_PARTNER_NS.api.user.get_tracking_optout(); // Returns a boolean
Copied!
Where optout is a boolean indicating if the user is currently opted out of tracking.
1
var optout = ADDWISH_PARTNER_NS.api.user.get_tracking_optout();
Copied!
Last modified 1yr ago
Copy link