Breakdance

Running A/B tests in WordPress using the Breakdance page builder is straightforward with Optibase. By using custom attributes, you can test different elements, such as buttons or sections, to see which version drives the most conversions.


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 (used for testing variations on the same page).

  4. Click Next.


2. Connect Your 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.

  3. Type: Select Click (the most popular for button testing).

  4. Count once per user: Check this if you only want to count one conversion per person (standard for lead gen) or leave it unchecked for e-commerce where users might convert multiple times.

  5. Click Create Conversion.

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


3. Configure Variants in Breakdance

In the Breakdance editor, you will need two versions of your button (Button 1 and Button 2). You must add three specific attributes to these elements so Optibase knows how to handle them.

Step 3a: Add the Conversion Attribute

Select both button variants in Breakdance and add the conversion attribute you copied in Step 2. This tells Optibase to track clicks on these specific elements.

Step 3b: Add Variant and Test IDs

Back in the Optibase Dashboard, create your variants (e.g., button-1 and button-2) and copy the following attributes to your buttons in Breakdance:

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="button-1"

data-optibase-variant-id="button-2"


4. Launch Your Test

Once your attributes are saved in Breakdance and the page is published:

  1. Return to the Optibase Dashboard.

  2. Set the test status to Active (to run it immediately) or Scheduled (to start it at a specific time).

  3. Monitor Results: Use the Results tab to see which button is winning.


Pro Features & Tips

  • Auto-Stop & Alerts: Set up email alerts or trigger an automatic stop when your conversion rate reaches a specific milestone (e.g., 7%).

  • Targeting & Restrictions: Limit your test to specific locations, screen sizes, operating systems, or browsers to ensure your data is as clean as possible.

  • Workspace Organization: If you are an agency, create separate Workspaces for each client to keep their data, billing, and team members isolated.

  • Accuracy Tools: Use the IP Blacklist in settings to exclude your own IP address and your team's traffic from the test results.

Last updated