How to install service worker from

Hey, I want to ninstal new feature into my website. It is called push notification. But I am strugulling with service worker installation. Maybe somebody could help me with that?

Thanks in advance!


Hey Gedas,

What are you struggling with?


I am also trying to add push notifications on my website by I have installed the code via google tag manager, then it says to install some service worker (firebase-messaging-sw) in the root directory of my website. I have no idea how to do that. please help…

1 Like

Hi Readers Section,

Unfortunately, adding a service worker in the root directory is not supported at the moment.

You are welcome to open a feature request in the relevant forum:


1 Like

Oh, no, I’ve been trying to work out how to place the service worker in the root directory too which is from It seems that wix is behind so many other sites using all these tools to help. ?? Why??

1 Like

Old post from 2018 reappearing, closed.