Ambit Signal

api | install-astro | install-caddy | install-cloudflare | install-express | install-js-tag | install-netlify | install-nginx | install-shopify | install-squarespace | install-sveltekit | install-vercel-next | install-webflow | install-wix | install-wordpress | mcp | outcomes | privacy | quickstart | troubleshooting

Install: Wix

Collection: JS tag (sees humans only). Replace example.com and st_YOURSITEID with your site's values (dashboard, list_sites, or GET /v1/sites). The MCP tool get_install_snippet(platform="wix", site_id=...) returns this page pre-filled.

Steps

  1. Add this tag in Settings > Custom Code > Add Custom Code (Body - end, All pages):

```html

```

  1. Publish the site.
  2. Optional, for consent-gated regions: add data-consent="required" to the tag and call window.ambitSignal.consent(true) after the visitor accepts.
  3. Optional, to report a conversion from the page: window.ambitSignal.outcome('lead', '', 'new').

Verify

Load any page of example.com once, then check: MCP tool verify_install(site_id="st_YOURSITEID") or GET https://signal.ambit.agency/v1/sites/st_YOURSITEID/status with your API key. "receiving": true means events are arriving (usually within a minute).

curl -s -H "Authorization: Bearer $AMBIT_SIGNAL_API_KEY" \
  https://signal.ambit.agency/v1/sites/st_YOURSITEID/status

Expected: "receiving": true. If not, see troubleshooting.

Notes