Add the custom script

❗️ If you using Webflow then you should follow the guide here: Add the custom script

How to get your script

  1. Create an account and log in at app.optibase.io

  2. Go to your Workspace settings -> Custom script

  3. Click on the script block to copy your unique snippet

Your script will include your workspace ID and should look like this:

Where to place the script

Paste the script just before the closing </head> tag on every page where you want tests or tracking to run.

<head>
    ...
    <optibase script />
</head>
<body> ... </body>

This ensures that:

  • The script loads early enough to apply tests without visible flicker

  • All A/B and Split Tests can run

  • Conversions and page views are tracked correctly

Last updated