Implement the Snippet
Implement the JS snippet representing your project
To start running A/B tests on your website, all you have to do to is adding a snippet of JS code to the
<head> tag of your site's html code.
This JS snippet contains the unique ID of your project.
It automatically updates when you change relevant data on the platform. Once installed you don't have to change it again.
On this page
This is how you snippet looks like (here with Project ID 12345678):
Where to implement the Snippet?
The snippet needs to be installed in the <head> section of the page, before any other loaded resource. We recommend to place it after the <title> tag.
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!-- more meta tags --> <!-- stylesheets --> <!-- your jQuery (optional) --> <script src="https://cdn.ablyft.io/s/12345678.js"></script> <!-- more scripts and other information --> </head> <body> ...
Where to find the Snippet?
You find the snippet under "Project > Snippet".