Skip to help content
RightMessage

Install RightMessage on Wix

You'll add RightMessage through Wix Custom Code and check that it runs on your published domain as visitors move between pages.

Updated

View as Markdown

Add RightMessage to your Wix site so you can ask visitors questions and personalize your pages. Use the dashboard's custom-code settings rather than a visible HTML iframe, so RightMessage can run on the website itself.

Add the snippet to your site

You'll need a RightMessage project, permission to manage Wix custom code, and a published Wix site with a connected domain. Your plan must support that domain connection. A free Wix URL isn't enough.

  1. In RightMessage, select your project and open Project settings (the gear at the bottom of the sidebar), then Website & install.
  2. Under Install snippet, keep Live site selected and choose Copy to copy the full snippet, including its script tags.
Install snippet section of Website & install with Live site selected and the Copy button highlighted in orangeOriginal
Install snippet section of Website & install with Live site selected and the Copy button highlighted in orange
  1. In your Wix dashboard, open Settings > Development & integrations > Custom Code.
  2. Choose + Add Custom Code, paste the snippet, and name it RightMessage.
  3. Under Add Code to Pages, choose All pages to cover current and future pages.
  4. Choose to load the code once per visit, not on each page. RightMessage handles URL changes without another copy of the snippet.
  5. Under Place Code in, select Head.
  6. Choose Apply and check that the code is enabled.
  7. Publish any pending website changes.

Check for an existing RightMessage installation before adding the code. Questions, offers, and personalizations you've already published can appear as soon as it runs.

Use a consent category that matches your site's policy. Don't mark tracking code essential just to make it run before consent.

Only want RightMessage on selected pages? See the Wix page-selection option.

Check that it's working

  1. Open your connected domain outside the editor. Follow the consent prompt if it controls the snippet.
  2. Follow an internal link to another page where RightMessage should run.
  3. In RightMessage, open Project settings > Website & install. The status at the top says RightMessage is installed once your first pageview arrives. While it says Waiting for your first pageview, it checks again by itself, or you can choose Check now.

RightMessage is installed means it's receiving data. Use the debugger to check what it's showing as you move between pages.

If no data arrives, check that the code is enabled on the connected domain, then follow installation troubleshooting. Wix associates snippets with a domain and deletes them when you assign a different domain, so repeat this setup after a domain change.

Wix's custom-code guide (opens in a new tab) also covers frontend-security restrictions that can block third-party code. Share the affected URL and browser error with support rather than bypassing those protections.

Next, build a resource recommendation in the app.

Still need a hand?

Tell us what you’re trying to do and where you’re getting stuck.

support@rightmessage.com