Documentation

Wix

Add Loamly to your Wix site

Wix makes it easy to build websites, and adding Loamly takes just a few clicks. This guide shows you how to install the tracking script via the Wix dashboard.

Add the tracking script

Wix Premium required

Adding custom code requires a Wix Premium plan. The free plan does not support custom code injection.
  1. Log in to your Wix dashboard
  2. Go to SettingsCustom Code
  3. Click + Add Custom Code
  4. Paste the following script:
<script
  src="https://app.loamly.ai/t.js?d=yourdomain.com"
  defer
></script>
  1. Under Place Code in, select Head
  2. Under Add Code to Pages, select All pages
  3. Click Apply

Replace your domain

Replace yourdomain.com with your actual Wix site domain. If you use a custom domain, use that instead of the default Wix URL.

Enable AI verification (recommended)

The client-side script tracks page views, but to unlock the full power of Loamly you need server-side setup. This enables AI bot crawl detection, RFC 9421 signature verification, bot-to-click temporal matching, and prompt-to-crawl correlation with your Intelligence data. Without it, you miss the connection between AI bots crawling your site and the humans who visit after.

See the AI Visitor Verification guide for setup instructions.

Verify installation

  1. Visit your Wix site in a new browser tab
  2. Right-click → View Page Source
  3. Search for "loamly" to confirm the script is in the head
  4. Check your Loamly dashboard for the visit

Troubleshooting

Not seeing visits?

  • Make sure the domain in the script matches your actual site domain
  • Wait at least 2 minutes after installing — data is not instant
  • Confirm the code is placed in the Head section, not the Body

Ad blockers

Some browser extensions block tracking scripts. Try visiting your site in an incognito window with extensions disabled.

Debug mode

Open your browser's developer console and run:

Loamly.debug(true)

This will log tracking events to the console so you can confirm the script is working.

Need help? Email hello@loamly.ai