# AB Split bot — WordPress plugin

Run A/B tests on your WordPress site, gated by an unlock code from AB Split bot.

## Install
1. Upload the `absplitbot` folder to `/wp-content/plugins/` (or upload the zip via Plugins → Add New → Upload).
2. Activate **AB Split bot**.
3. Go to **Settings → AB Split bot** and paste the unlock code emailed to you.
4. Click **Save & validate**. Once status reads "Active", drop the shortcode on a page:

```
[absplitbot test_id="YOUR-TEST-ID"]
```

## How licensing works
- The plugin calls `https://absplitbot.com/api/public/validate-token` on save and once a day.
- The first site that validates a code becomes bound to it; the same code won't work on a different domain.
- If the validation server is unreachable, the last known state is preserved (no lock-out on a network blip).
