# Split test complete WordPress themes safely

Install the official plugin once, then compare installed WordPress themes site-wide or build visual variants on published pages without changing the site's active theme.

## Setup

Install location: Official Otter WordPress plugin

1. Upload the official Otter plugin and paste your project API key.
2. Choose an installed alternate theme and open the prefilled test wizard.
3. Review the site-wide split and conversion goal, then launch.

```html
<!-- Otter -->
<style id="optimo-hide">body{opacity:0 !important}</style>
<script src="https://www.otterab.com/sdk/optimo.js"
  key="YOUR_API_KEY" async></script>
```

## What teams test on WordPress

- Complete theme split tests
- Block and classic theme comparisons
- Elementor and page-builder pages
- WooCommerce funnel experiments

## Frequently asked questions

### Does Otter work with WordPress page builders?

Yes. Otter edits the rendered page in the browser, so it works with Elementor, Gutenberg, Divi, and most other page builders.

### Can Otter split test complete WordPress themes?

Yes. The official plugin assigns visitors to installed themes per request without changing WordPress's active theme globally. Full-page caches must vary on the otter_theme_assignment cookie.

### Do I need to edit my WordPress theme?

No. The official plugin installs Otter and runs theme assignments without modifying theme files.

### Can I A/B test WooCommerce?

Yes. Otter also provides an official WooCommerce plugin with automatic product, checkout, purchase, and revenue events.

---

Canonical page: https://www.otterab.com/ab-testing/wordpress
