Skip to main content

GDPR forget me

Use gdprForgetMe when a user requests to be forgotten under GDPR or similar privacy regulations. The SDK notifies the Adtrace backend and stops permanently. You cannot restart the SDK after this call.

Unlike stop(), gdprForgetMe is irreversible for that browser profile.

Method signature

Adtrace.gdprForgetMe();

Example

Adtrace.gdprForgetMe();
Important

After gdprForgetMe, do not call restart(). The SDK will not resume tracking for that user.

SDK only

This feature is implemented in the client SDK. Confirm requirements with your Adtrace account team before enabling in production.