Optibase
  • ๐Ÿค”What is Optibase
    • ๐ŸงชWhat is a Test/Variant Group
    • ๐ŸชžWhat is a Variant
    • ๐ŸWhat is a Conversion
    • ๐Ÿง‘What is a Tested User
    • ๐Ÿ What is a Guest User
    • โš™๏ธWhat does the custom script do?
    • ๐Ÿ‘‘Probability to Be Best (P2BB)
  • ๐Ÿ‘ทHow to setup Optibase
    • โœ๏ธAdd the custom script
    • ๐ŸŽฏCreate a Conversion
    • ๐Ÿ”—Connect a Conversion
    • ๐Ÿ–ฅ๏ธServer-side Conversions
    • โš–๏ธCreate a Test/Variant Group
    • ๐Ÿ†ŽCreate an A/B Variant
    • ๐Ÿ”—Connect an A/B Variant
    • ๐Ÿ”€Create a Split Variant
    • ๐Ÿ”’Force Variants
    • ๐Ÿ‘‘Turn off when a winner is found
    • ๐Ÿ”žSet up restrictions
    • โฒ๏ธSchedule a Test
    • ๐Ÿ“จShare test results
    • ๐Ÿ”„Connect Conversions to a Test
    • ๐Ÿ“…Filter test results by a specific time period
  • ๐Ÿช„Optibase Webflow App
    • โœ๏ธAdd the custom script
    • ๐ŸŽฏCreate a Conversion
    • ๐Ÿ”—Connect a Conversion
    • โš–๏ธCreate a Test/Variant Group
    • ๐Ÿ†ŽCreate an A/B Variant
    • ๐Ÿ”—Connect an A/B Variant
    • ๐Ÿ”€Create a Split Variant
    • โ˜‘๏ธTypes of Content You Can Connect
  • ๐Ÿ”—Integrations
    • ๐Ÿ“žActive Variants API
    • โšกTrigger Conversions with GTM
    • ๐Ÿ“ˆGoogle Analytics 4
    • ๐Ÿ‘ทGoogle Analytics 4 with GTM
    • โœ–๏ธMixpanel
    • ๐Ÿฆ”Track conversions in PostHog
  • โ“FAQs
    • Why can you see views in the views tab for pages that don't have a test?
    • Why can't I see detailed metrics like average "Time on Page" and "Scroll Depth"?
    • Why do conversions in the Webflow app appear to disconnect randomly, and are these conversions still
    • Troubleshooting Component Connection Issues in Optibase
    • How Optibase Works with CMS in Webflow
    • Why Your Screen Flickers Before Loading the Right Variants
    • Why variants appear disconnected when inside a component?
    • Localisation Limitations in Webflow with Optibase
    • Why Conversions May Not Be Recording in Optibase
    • Does a URL Split Test Work with UTM Parameters?
    • Using Optibase Across Multiple Websites
    • Why Conversions or Results May Not Be Visible in the Results Tab
    • Can I redirect traffic between two different URLs using Optibase?
    • How do I exclude internal traffic from being counted in Optibase tests?
    • Can I connect multiple conversions to a single test?
    • How does Optibase handle geo-restricted A/B tests?
    • Why are conversion events double counted in my test?
    • How can I transfer ownership of an Optibase workspace?
    • Why do I see flickering between A/B variants?
    • Can I test elements across all pages on my website?
    • Why is a guest user still on a free plan after being invited to a paid workspace?
    • Can I redirect traffic between two different URLs using Optibase?
    • How do I set up a multivariate test in Optibase?
    • How do I exclude internal traffic from being counted in Optibase tests?
    • Why are conversion events double counted in my test?
    • Why is the wrong variant showing when I preview using the variant URL?
    • How can I force a specific variant to display for debugging?
    • How do I check which buttons are connected to a conversion event?
    • Can I run multiple tests on the same page?
    • Is it possible to set traffic allocation dynamically during a test?
    • How can I test different CTAs that exist across 50+ pages?
    • What happens when a test reaches statistical significance?
    • How do I view which conversion event was triggered?
    • Can I filter out specific IPs or users from test results?
    • Can I run tests on a site that uses a custom CMS or codebase?
    • Is Optibase compliant with GDPR?
    • Do I need to connect a conversion event to a test for it to be tracked?
    • How do I test different product pages with different pricing?
    • What if my team member can't access the Business plan features?
    • Can I test hero images with multiple slides in each variant?
    • Why does a variant not show even with 100% traffic assigned?
    • Can I export test results?
    • How do I test a new user journey that starts on different landing pages?
    • How can I preview the test without affecting analytics?
    • How do I know if my test is live?
    • How many users do I need to reach statistical significance?
    • Can I pause a test and restart later?
    • What is the difference between A/B and multivariate testing?
    • Can I run a test with just one variant?
    • Does Optibase support UTM tracking across redirects?
    • What is a 'Tested User' in Optibase?
    • How do I know when to stop a test?
    • Can I use Optibase for content localization testing?
    • Do I need to re-add conversion tracking for each new test?
Powered by GitBook
On this page
  • Debug Mode
  • Disabling Optibase Script
  • Split Tests
  • A/B Tests
  • Conversions
  • Page Views
  1. What is Optibase

What does the custom script do?

The custom Optibase script is a piece of JavaScript code that activates when a user loads a page on your website.

Firstly, the script makes a call to our server to check which tests are active and eligible.

Debug Mode

You can add ?optibaseEnableDebugMode at the end of the URL to permanently enable debug mode and see the console what the script is doing step by step. You can disable the debug mode by adding ?optibaseDisableDebugMode at the end of a URL.

Disabling Optibase Script

You can add ?optibaseDisableScript at the end of the URL to permanently disable tests for all pages on a domain for the current browser. No split tests will be run, the main variant will be always shown for all A/B tests and no conversion events will be sent. You can reenable tests by adding ?optibaseEnableScript at the end of a URL.

Split Tests

The script examines the URL the user is on and searches for any active and eligible split tests that use this URL as their entry variant. If it identifies such a split test, it determines whether to keep the user on the same page or redirect them to one of the other variants/pages.

In the event of a redirect, the script appends a `splitTestId` and `splitVariantId` search parameters to the redirect URL. This ensures clarity about the source of the redirect for the script on the redirect page.

A/B Tests

The script scans the website for elements tagged with both the data-optibase-test-id and data-optibase-variant-id attributes. It then matches these elements against the active and eligible tests in your account.

For each test, a random variant/element is chosen and displayed, while all other variants/elements for that test are removed from the page.

By default, your website should be set up so that all elements, except the primary one, are initially hidden using the inline style: style="display:none". The script reveals the randomly selected element by removing this style from it and removing all other elements.

Conversions

The script looks for elements on the website with either the data-optibase-click-conversion-id or data-optibase-submit-conversion-id attributes. It attaches click/submit listeners respectfully to these elements. When a visitor of your website triggers a listener, a Conversion Event is sent to the server for the current page involved in a split test and all selected elements in the A/B tests.

Page Views

After processing the tests, a Page View for the current page involved in a split test and all selected elements in the A/B tests is sent to the server. A Page View is not sent and not counted towards your monthly Page View limit if there are no active and eligible tests on the page.

PreviousWhat is a Guest UserNextProbability to Be Best (P2BB)

Last updated 6 months ago

๐Ÿค”
โš™๏ธ