Skip to Content
πŸ”” Push Notification Scripts

Push Notification Scripts

Push subscriber collection requires script tags and (in some cases) service worker files on your landing page. What you need to do depends on your lander type and collection mode.


Quick Reference

Lander TypeModeScript TagsSW Files
Lander Uploads (No Redirect)AnyAutomaticAutomatic
Lander Uploads (With Redirect)Notix OnlyPaste 1 script in your HTMLAutomatic
Lander Uploads (With Redirect)ParallelPaste 2 scripts in your HTMLAutomatic
ExternalNotix OnlyPaste 1 script in your pageHost sw.enot.js on your domain
ExternalParallelPaste 2 scripts in your pageHost both SW files on your domain
Blog (No Redirect)AnyAutomaticAutomatic
Blog (With Redirect)AnyAutomaticAutomatic
Internal (No Redirect)AnyAutomaticAutomatic
Internal (With Redirect)AnyAutomaticAutomatic

Step 1 β€” Configure Push Settings

Go to Push Notifications > Settings and set up your collection mode:

  • Notix-Only β€” uses only Notix for subscriber collection
  • Parallel β€” uses Tacoloco as the primary prompt, then registers Notix in the background after permission is granted

Save your Notix App ID and (if using Parallel mode) your Tacoloco JS URL and upload the Tacoloco service worker file.


Step 2 β€” Add Scripts (if needed)

No Redirect landers (Lander Uploads, Blog, Internal)

No action needed. Scripts are injected automatically.

Lander Uploads (With Redirect)

You need to paste the script tags into your HTML file. Go to Lander Uploads, edit your lander HTML, and add the scripts before </head>.

Notix-Only Mode

<script> var s = document.createElement("script"); s.src = "https://notixio.com/ent/current/enot.min.js"; s.onload = function(sdk) { sdk.startInstall({ "appId": "YOUR_NOTIX_APP_ID", "loadSettings": true }); }; document.head.append(s); </script>

Replace YOUR_NOTIX_APP_ID with your Notix App ID from Push Settings.

Parallel Mode (Tacoloco + Notix)

Add two scripts before </head>:

<script type="application/javascript" src="YOUR_TACOLOCO_JS_URL" async></script> <script> var _ntxInterval = setInterval(function() { if (Notification.permission === 'granted') { navigator.serviceWorker.register('/sw.enot.js?appId=YOUR_NOTIX_APP_ID', { scope: '/ntx' }); clearInterval(_ntxInterval); } }, 300); </script>

Replace YOUR_TACOLOCO_JS_URL and YOUR_NOTIX_APP_ID with your values from Push Settings.

Service worker files are served automatically on your tracking domains β€” no extra steps needed.


External landers

For external domains (not managed by our platform), you need to do two things:

A. Add the same script tags as Lander Uploads With Redirect (above)

Paste them into your externally-hosted page before </head>.

B. Host service worker files on your domain

You must place the service worker files at the root of your external domain yourself.

Notix-Only mode β€” create sw.enot.js at your domain root with this content:

importScripts("https://notixio.com/ent/current/enot.sw.min.js?r=sw");

Parallel mode β€” host both files at your domain root:

  1. sw.enot.js β€” with the content shown above
  2. The Tacoloco SW file (e.g. {appId}.js) β€” download it from your Tacoloco dashboard under β€œService Worker” and place it at your domain root

Β© 2026 Proferex. All rights reserved.