You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A WordPRess plugin to add A/B split tests without tracking individual users. Currently there are two kind of tests:
7
+
8
+
***Post title tests**: test multiple headlines for a single post.
9
+
***DOM tests**: test arbitrary changes to text based on DOM manipluations.
10
+
11
+
Depends on [Advanced Custom Fields Pro plugin](https://www.advancedcustomfields.com/pro/), which you will need to install and license separately.
17
12
18
13
## Installation ##
19
14
@@ -22,23 +17,71 @@ This section describes how to install the plugin and get it working.
22
17
1. Upload `split-tests/` to the `/wp-content/plugins/` directory
23
18
1. Activate the plugin through the 'Plugins' menu in WordPress
24
19
20
+
## Developer setup ##
21
+
22
+
This repo contains everything you need to get a test environment setup using the official [WordPress docker image](https://hub.docker.com/_/wordpress).
Once you've built and started the docker containers, you can load up the website at [localhost:8080](http://localhost:8080). If you reload the page a couple times, you should see parts of the page change in response to two tests that are set up.
38
+
39
+
1.**DOM test:** there are two variants for the about text "A commitment to innovation and sustainability" and "A commitment to maintenance and durability". If you click on the "About us" button, that will register as a conversion for a given variant.
40
+
2.**Post title:** there are three variants for the Hello World post, if you scroll down to "Watch, Read, Listen" and reload you should see English, Spanish, and French versions of "Hello World." Clicking through to load the post will register as a conversion for that test.
41
+
42
+
__WordPress admin credentials__
43
+
44
+
Username: `admin`
45
+
Password: `password`
46
+
47
+
You can explore the example tests by clicking on [Split Tests](http://localhost:8080/wp-admin/edit.php?post_type=split_test) in the admin sidebar.
48
+
25
49
## Frequently Asked Questions ##
26
50
27
-
### A question that someone might have ###
51
+
### Did you say there's no tracking? ###
52
+
53
+
Yes, we count how many times a test is seen and how many times it converts, but we don't set/read cookies or otherwise attempt to track individual requests.
54
+
55
+
### How do you define a conversion? ###
56
+
57
+
There are currently two kinds of conversions: **page loads** and **clicks** (on a specific configured element).
28
58
29
-
An answer to that question.
59
+
### Does the plugin handle front-end caching? ###
60
+
61
+
Yes, the tests will work fine with HTML generated behind a CDN, or using other kinds of front-end caching.
0 commit comments