Amplitude
Setup Unlike some integrations, Amplitude requires a one-time connection in your Optibase dashboard.
Go to your Optibase dashboard → Settings → Integrations
Find the Amplitude section and click Connect
Select your region — United States (US) or Europe (EU). This must match the region of your Amplitude project.
Paste your Amplitude API key. You can find it in Amplitude → Settings → Projects → your project → General.
Click Connect. Optibase will verify the key before saving.
This integration is available on paid plans only.
Testing the Connection
Once connected, you can verify the integration is working by clicking Test Connection in the Amplitude integration settings. This sends a test event to your Amplitude project. You should see an event named optibase_connection_test appear in Amplitude under your project's event stream shortly after.
Adding Amplitude to Your Page
You need to include the Amplitude browser SDK on your page before the Optibase script:
<script src=""></script>
<script>
window.amplitude.init('YOUR_AMPLITUDE_API_KEY', {
defaultTracking: true,
serverUrl: '', // use for US
})
</script>
<!-- Optibase script must come after -->Replace YOUR_AMPLITUDE_API_KEY with your Amplitude project API key and set the serverUrl to match your region.
Event Details
When a variant is assigned to a visitor, Optibase sends an event named optibase_variant_assigned to Amplitude containing the following properties:
testId— the ID of the A/B testvariantId— the variant assigned to this visitor
Analytics Setup
In Amplitude, go to Analytics → Event Segmentation:
Select the optibase_variant_assigned event
Add a Group By on testId to filter to a specific test
Add a second Group By on
variantIdto compare variants side by side
To measure conversion, use Funnel Analysis:
Add Step 1: optibase_variant_assigned
Add Step 2: your conversion event (e.g. a button click or signup)
Group by
variantIdto see which variant converts better
Last updated