Oxygen

Running A/B tests in WordPress using the Oxygen Builder is highly efficient with Optibase. By utilizing Oxygen's "Attributes" panel, you can easily define which elements to test and track.


1. Create Your Test in Optibase

  1. Open your Optibase Dashboard and click Create Test.

  2. Name your test: For example, Button Test.

  3. Select Type: Choose A/B Test (best for testing specific elements on the same page).

  4. Click Next.


2. Define the Conversion Goal

A conversion is your marker of success—the action you want the user to take.

  1. Click Create Conversion.

  2. Name it: e.g., Button Click.

  3. Type: Select Click (most common for button tests).

  4. Count once per user: Check this for lead generation or sign-ups to keep your data accurate. Leave it unchecked for e-commerce.

  5. Click Create Conversion.

Copy the Goal Attribute: data-optibase-click-conversion-id="button-click"


3. Tag Elements in Oxygen Builder

In Oxygen, you will need two versions of your element (e.g., two different buttons). You must add three specific attributes to these elements via the Advanced > Attributes panel.

Step 3a: Add the Conversion Attribute

Select both elements in Oxygen and add the conversion attribute from Step 2. This tells Optibase to track clicks on both variants.

Step 3b: Add Variant and Test IDs

Create your variants in the Optibase Dashboard (e.g., btn1 and btn2) and add the following attributes to your elements in Oxygen:

Attribute

Value for Button 1

Value for Button 2

Test ID

data-optibase-test-id="button-test"

data-optibase-test-id="button-test"

Variant ID

data-optibase-variant-id="btn1"

data-optibase-variant-id="btn2"

Pro Tip: In Oxygen, make sure the variant you want to hide by default is set to display: none. Optibase will handle the logic of showing the correct variant to the correct user.


4. Go Live

Once your attributes are saved and the Oxygen template is published:

  1. Return to the Optibase Dashboard.

  2. Set the test status to Active to start immediately, or Scheduled for a future launch.

  3. Monitor Progress: Use the Results tab to track which variant is performing better.


Advanced Workspace Features

  • Targeting & Restrictions: Narrow your test audience by location, screen size (mobile vs. desktop), OS, or browser.

  • Auto-Stop & Alerts: Configure your test to automatically end or send an email alert once a specific conversion rate (e.g., 8%) is achieved.

  • IP Management: Use the IP Blacklist in Workspace Settings to exclude your own office traffic from test data.

  • Workspaces: For agencies or freelancers, use separate Workspaces for each client to keep projects, billing, and team members organized.

  • Domain Whitelisting: Ensure only your authorized domains can trigger the Optibase script to protect your data integrity.

Last updated