Solved

How to use Mixpanel inside service worker


  • New Participant
  • 0 replies

How to use mixpanel inside service worker.

I’m developing browser extension with manifest v3 and the background now is service worker so many of the old configs are changed. and when I tried to use mixpanel inside service worker it didn’t work!

icon

Best answer by alon 22 May 2022, 16:26

View original

2 replies

I have the same issue. I can initialize Mixpanel but it will not send out the Events. Also i don’t get any Debug Information from Mixpanel.

Same thing works from in the Popup

Userlevel 3
Badge +1

So the JS SDK should do the trick but if you don’t have access then it won’t help

See this chat

What i can offer is to send the events from the backend or api 

https://developer.mixpanel.com/reference/ingestion-api

Reply