Search for articles…
Check that the snippet is installed
Once the snippet is on your site, check it in two places: in Splitlab, and in your browser’s developer tools. If the Splitlab check passes, you’re ready to start testing.
1. Run the check in Splitlab
Open Websites and select your website.
Under Check if Smartcode is installed properly, enter the URL of a page where you added the snippet.
Click Check.
Splitlab opens the page in a new tab and waits for the engine to report in from your domain. When it does, the tab closes and the panel shows SmartCode is installed, with the date it was last verified.
If the new tab doesn’t open, allow pop-ups for the Splitlab app and try again.
2. Confirm the engine loads
Open your page in Chrome, Edge or Firefox.
Open the developer tools and go to the Network tab.
Reload the page and filter for engine.js.
It should load from cdn.splitlab.io with status 200.
3. Confirm the project key
In the Elements tab, find the engine script tag and check that its data-project-key attribute has a value, and that it matches the key shown in Splitlab.
4. If the check fails
Changes not published. Most site builders need you to publish or save before the snippet goes live.
Testing the wrong page. On ClickFunnels and similar builders, check the live funnel URL, not the editor preview.
Cached pages. A page or CDN cache may still be serving the old version. Purge it and check again. This is the most common cause on WordPress.
Wrong or empty key. Copy the snippet again from Splitlab rather than editing it by hand.
Blocked by an extension. An ad blocker can stop engine.js from loading. Check in a private window with extensions turned off.
Snippet in the body. Move it into the <head>.
5. See a variant for yourself
With a test running, open the page in a private window. You’re treated as a new visitor and placed in a variant. Since assignments are sticky, the same browser keeps seeing the same variant. See Why do I keep seeing the same variant?.
Developers can find the same checklist in The install snippet.
6. Still stuck?
Engine loads but the check still says not installed? Get in touch through our contact page or email team@splitlab.io and tell us which page or integration you’re working on.
Related articles
Still stuck?
Email team@splitlab.io or send us a message.
Contact us