Please how do I get onesignal to work in wix?

I have added the the code to the “custom code” of wix, but still does not work