Installation

Installing on Wix

Add Sonar to a Wix site with Custom Code.

Wix lets you add code to the head of every page through Custom Code. You need a Premium plan with a connected domain.

Steps

  1. Open your site's dashboard and go to Settings.

  2. Scroll to Advanced and click Custom Code.

  3. Click + Add Custom Code.

  4. Paste your Sonar snippet:

    <script async src="https://sonar-app.co.uk/tracker.js" data-site-key="YOUR_SITE_KEY"></script>
    
  5. Name it Sonar. Under Add Code to Pages, choose All pages and Load code on each new page.

  6. Under Place Code in, choose Head.

  7. Click Apply, then publish your site.

Verify

Visit your live site (not the Wix editor preview), then reload Sonar. Visits from inside the editor are not tracked.