Wix Integration Steps
Instructions for installing Pushly when using Wix
If your website utilizes Wix follow these steps for implementation
Step 1: Install the Service Worker
First, enable Wix Dev Mode and add a file to expose the Service Worker:
Open your Wix admin dashboard
Click the "Edit Site" button in the top right of the dashboard
Click the "Dev Mode" tab at the top of the site and click the “Turn On Dev Mode” button
Click the “Public & Backend”
{}
sidebar menu optionIn the "Backend" section click “Add web module” and enter the filename:
http-functions.js
Replace the entire contents of the
http-functions.js
file with the following code:
After clicking the “Publish” button make sure the service worker is accessible at your site. For example: https://www.mysite.com/_functions/ServiceWorker
Step 2: Add the Integration Code Snippet
Navigate back to the main Wix Dashboard
Click the "Settings" sidebar link and then "Custom code" near the bottom of the page
Click the “Add Custom Code” button and place the following code in the code text area. Leave the “All Pages” radio button selected.
Ensure you replace both instances ofSDK_KEY
in the snippet with the value provided by your account manager.
Save the snippet to complete the integration steps.
Last updated