On Wix, the pixel is installed from the custom code section of the site, which lets you insert a code snippet in the header of every page.
Before you start
- Create the campaign with the published domain of your Wix site: Create your first campaign. The campaign domain must be the one your visitors see.
- Copy the code from Campaigns, option Install pixel.
- Keep in mind that Wix may require the site to be published with a connected domain before custom code is available.
Steps
- Open the dashboard of your Wix site.
- Go to the site settings and find the custom code section.
- Add a new code and paste the Notikit pixel code.
- Give it a name you can recognize, for example
Notikit. - Choose to apply it to all pages.
- Choose to place it in the
head. - Apply or save the changes and publish the site.
Option names may vary depending on the version of the Wix dashboard. What you need to achieve is that the code ends up inserted in the header of every page of the published site.
How to test it
- Custom code runs on the published site. Always test from the public address of your site and not from the editor or the preview, which use a different address and therefore do not match the campaign domain.
- Open the site in a private window and wait for the time you configured in the trigger of the notification.
If nothing shows up
- Check that the notification is enabled: new notifications are created disabled.
- Check that the campaign domain is exactly the public domain of the site.
- Follow the steps in Verify the pixel installation and, if needed, The pixel is not loading.
If your Wix site already uses Google Tag Manager, you can also install the pixel from there: Install the pixel with Google Tag Manager.