Installation Guide: Adding the Optibase Script
Last updated
To enable A/B testing, Heatmaps, and Personalization, you must add the Optibase script to your website. This single snippet powers all features across your entire workspace.
Log in to your account at app.optibase.io.
Navigate to Workspace Settings in the sidebar.
Select the Custom Script tab.
Click on the code block to copy your unique snippet.

For Optibase to function correctly, the script must be placed inside the <head> tag of your website.
Critical Requirement: You must place the script on every page where you want to run tests or track conversions. We recommend adding it to your global site settings.
Recommended Placement:
Paste the script as the very start of your <head> tag.
HTML
For Webflow Users
Open your Project Settings.
Go to the Custom Code tab.
Paste your Optibase script into the Head Code section.
Publish your site to all domains.
For WordPress Users
Log in to your WordPress Dashboard.
Ensure you have the Optibase WordPress Plugin installed.
Navigate to the Optibase settings and paste your script ID
<head> placement is requiredZero Flicker: Loading the script early ensures that variants are applied before the page renders. This prevents users from seeing the original version for a split second.
Accurate Tracking: This allows Optibase to record page views and user sessions the moment the page begins to load.
Split Test Support: Necessary for instantaneous URL redirects during split tests.
Last updated
<head>
<optibase script />
...
</head>
<body> ... </body>