Add web push notifications for new episodes
Web push reaches listeners with no email address and no app install — one tap to subscribe, and every new episode lands as a notification on their device.
Pick a tool
The snippet
<script src="https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js" defer></script>
<script>
window.OneSignalDeferred = window.OneSignalDeferred || [];
OneSignalDeferred.push(async function(OneSignal) {
await OneSignal.init({ appId: "YOUR-ONESIGNAL-APP-ID" });
});
</script>
Swap YOUR-ONESIGNAL-APP-ID and paste it into the Body slot. OneSignal's setup will also ask you to host two service-worker files — follow their web-push guide.
No coding? Ask an AI
Give me the OneSignal web-push init snippet for my website, ready to paste before the closing </body> tag, with a placeholder for my app ID, plus a note on the service-worker files I need to host.
How to add it
- 1 Copy the snippet above and adjust the placeholder values.
- 2 In your PodView Control Panel, open Advanced (Creator plan).
- 3 Paste it into the Body code field and turn its toggle on.
- 4 Save, then reload your public site to confirm it works.
PodView renders custom code exactly as written. Only paste snippets from sources you trust, and add one at a time so you can spot any that misbehaves.
Advanced Customization is a Creator feature
Paste this snippet and go live in minutes once you're on Creator.