-
Couldn't load subscription status.
- Fork 55
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
Cookies are not set
Current Behavior
Cookies e.g. AMP_bd878e3198 and AMP_MKTG_bd878e3198 are set
Possible Solution
- Library should not set cookies if
optOut: trueis set in init - https://amplitude.com/docs/get-started/cookies-and-consent-management should cover how to manage consent with this library rather than some other library
Steps to Reproduce
import { init } from "@amplitude/analytics-browser";
// ...
init(apiKey, undefined, {
optOut: true,
});Environment
- JS SDK Version:
@amplitude/analytics-browser2.17.4 - Installation Method: pnpm
- Browser and Version: Chrome 136
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working