Hello, I am trying to integrate Amplitude into my Chrome Extension (MV3). I am planning to send events from both sidepanel (chrome sidepanel, not a content script), and background script - web worker.
While sidepanel works as expected background script doesn’t have a proper access to cookies.
1. Is there a way to set my own implementation of cookie provider?
2. Maybe current Amplitude Typescript SDK already supports the environment of web workers?
Edit:
I see that typescript SDK has some abstraction like cookie storage, but I am not yet sure how to access / set it.
https://github.com/amplitude/Amplitude-TypeScript/blob/032d7daf06d03f6b2384fc27ae2fc1ab09fdac4f/packages/analytics-browser/src/config.ts#L322
Page 1 / 1
Github Feature Request:
https://github.com/amplitude/Amplitude-TypeScript/issues/1061
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.