Since WooCommerce is a part of WordPress, installing Mida on either platform follows the same steps. This guide works for both WordPress and WooCommerce websites.
Installation steps
First, go to your profile at the bottom left of your screen and select "Website".
Next, name your first website project and click on "Install Tracking Code".
Then, select "Wordpress", click on "Connect"
Now, log in to your WordPress admin dashboard and go to "Plugins → Add Plugin". Search for "Mida A/B Testing", then click Install Now and Activate the plugin. You can also install it from the WordPress plugin directory.
Next, Copy your project key to your Wordpress site and Save it.
Finally, click on "Verify Installation" to check if Mida is receiving data from your site.
Congrats! Your installation has been successful if you see the following message. However, if you receive an error message, please do not hesitate to reach out to us for assistance here.
Anti-flicker setting
Turning on the anti-flicker setting adds the anti-flicker script to your site. The script hides the page briefly so visitors don't see the original content before the variant applies. The page shows as soon as your tests have applied their changes, or when the Max Timeout is reached, whichever comes first.
From version 1.3, anti-flicker is on by default when you first install the plugin. If you update from an older version, your existing setting is kept.
In the Mida plugin settings, under "Anti-Flicker Settings", check "Enable anti-flicker". The default "Max Timeout (ms)" is 3000. Keep it at 1000–2000 ms or more. If the timeout is shorter, the page can be shown before the test has applied its changes, which causes flicker.
"Post Delay (ms)" adds a short wait after your tests have applied, before the page shows. The default is 0. It is optional and can help when your variant changes styles or runs scripts.
WooCommerce event tracking
If WooCommerce is installed and active on your WordPress site, the Mida plugin automatically tracks the following events. You can use them as conversion goals in your A/B tests without any extra setup.
Event | When it fires |
add_to_cart | When a customer adds a product to the cart |
checkout_init | When the customer reaches the checkout page (checkout form is shown) |
new_order | When a new order is created (includes revenue, quantity, and currency) |
order_processed | When the checkout order has been processed (includes revenue, quantity, and currency) |
order_received | When the order status is set to "Processing" (includes revenue, quantity, and currency) |
order_completed | When the order status is set to "Completed" (includes revenue, quantity, and currency) |
Using WooCommerce events as goals
Revenue: Use Mida’s existing Revenue goal in your experiment. It automatically uses the order_processed event and links revenue to your A/B test report — no extra setup required. WooCommerce stores don't need to add the Purchase event snippet, because purchases (order_processed) are already tracked automatically.
Other funnel steps (e.g. add to cart, checkout started, order completed): In the Mida dashboard, go to your experiment and add or edit a Goal → choose Custom Event → enter one of the event names above (e.g. add_to_cart, checkout_init, order_completed). Save to see those conversions in your reports.
If WooCommerce is not installed, the plugin still works for standard WordPress pages; only the WooCommerce events listed above will not be sent.







