1. The config object is there
Open your site in a fresh tab. Open DevTools (F12) and, in the Console, type:version number. Something
like:
undefined, the snippet did not load. Check that:
- The
<script>tag is actually in<head>, view page source, do not trust an in-page editor’s preview. - The snippet is the first script tag. If it is below GTM or an analytics tag, move it up.
- Nothing is blocking
cdn.abtestly.com. Try incognito with extensions disabled. Some ad blockers needcdn.abtestly.comallowlisted. - The snippet on the page matches the snippet in the dashboard. Site snippets are keyed to the domain they were generated for.
2. The exposure beacon fires
If you are on a page that a running experiment targets, you should see a POST toapi.abtestly.com/e in the DevTools Network tab. It is a small
text/plain request, that is deliberate; it lets sendBeacon work
without a CORS preflight.
No experiment matches this page? That is fine, the config object above
tells you install is working. Create a “test” experiment that targets the
current URL and reload.