Getting Started
Configuration
Custom Database Connection
By default, this addon uses your default database connection and creates a table called ab_test_results. To use a custom connection, add this to your .env file:
AB_TESTER_RESULTS_CONNECTION=your-connection
Static caching
If you are using the half caching strategy, switch to using the provided ab driver - this extends half caching but allows ab experiments to continue working.
If you are using full static caching, you will need to wrap any experiments in {{ nocache }} tags and ensure you are using the tags to record hits, successes and failures.
Field selection
By default, all fields will be selectable to apply an A/B Test, but you can control this using the Allow this field to be A/B tested config field that this add-on provides in the config for each fieldtype.
If it makes sense for you to default to fields not being included, you can set the statamic-ab-tester.blueblueprint_fields_approach to be 'opt-out'.