So we wanna have Amplitude up and running and have installed the SDK2 https://amplitude.com/docs/sdks/analytics/browser/browser-sdk-2. In order to have it we need a Cookie consent banner where the user can optOut if needed. Now after we call amplitude.setOptOut(true);
, we wanna get the information that the user has opted out.
Isn’t there any support from the SDK that we can get this information or do we need to manually ourselves handle this?
From my point of view it would be nice with “amplitude.getConsent()”
that would return true/false depending if the user has actively called amplitude.setOptOut(true)
Be the first to reply!
Reply
Welcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comor
Welcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.