Search…
A/B Test
A/B Test with 2mee messages is an experiment conducted to figure out the message that could possibly give higher CTR.

Prerequisites

  • Create Message A and Message B to be sent out by following the message creation process provided in the 2mee message creation section. Note the message Ids as messageIdA and messageIdB respectively.
  • From the list of User Segments available, pick the id of the segment that contains more than 8 devices. Note the segment id as filterId.
  • Note : Messages can also be created from Templates which is provided under Template Section.
post
http://server-v1.2mee.com/
abtest/create
Create A/B Test
Navigate to Messages -> A/B
Click on Create New A/B Test
Fill in A/B Test Title
1
curl -X POST 'http://server-v1.2mee.com/abtest/create' -H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwNDA3MzczOSwiaWF0IjoxNjA0MDU1NzM5fQ.ZS06eeAkGHqXVJN2WQndVsl6e1GWOPHKNnBKnzxyhwG-0HoPlzaKX06ENO2E5FQ4kAvfChmcU-iSYWQHBzEPig" -H "accept: */*" -H "Content-Type: application/json" -d '{
2
"appId": "bacb37d0-a51f-491b-bd68-489c245b8c16",
3
"description": "2mee A/B Test for API Documentation",
4
"abTestName": "2mee A/B Test",
5
"filterId": "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
6
"expiry": 1440
7
}'
Copied!
put
http://server-v1.2mee.com/
abtest/update
Update A/B Test
Select the Audience group
Message section Layout
List of Templates
Pre-filled message from template
1
curl -X PUT 'http://server-v1.2mee.com/abtest/update'
2
-H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwNDA3MzczOSwiaWF0IjoxNjA0MDU1NzM5fQ.ZS06eeAkGHqXVJN2WQndVsl6e1GWOPHKNnBKnzxyhwG-0HoPlzaKX06ENO2E5FQ4kAvfChmcU-iSYWQHBzEPig" -H "accept: */*" -H "Content-Type: application/json" -d '{
3
"id": "1402602b-25d7-4af2-9002-b258aeeb2fe4",
4
"abTestName": "2mee A/B Test",
5
"description": "2mee A/B Test for API Documentation",
6
"filterId": "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
7
"templateIdA": "6807cbf4-be0b-4fd6-a39c-5a7e52422c74",
8
"templateIdB": "e5130ede-91d8-4237-b0e3-21f4c48ecf51",
9
"appId": "bacb37d0-a51f-491b-bd68-489c245b8c16",
10
"companyId": "6c445333-bac9-4ab0-a0b6-cc6838902abb",
11
"state": "NEW",
12
"playTime": "2021-08-17T11:23:29.876+0000",
13
"expiry": 1440
14
}'
Copied!
post
http://server-v1.2mee.com
/abtest/validate
Validate the A/B Test
1
curl -X PUT 'http://server-v1.2mee.com/abtest/validate?id=1402602b-25d7-4af2-9002-b258aeeb2fe4&appId=bacb37d0-a51f-491b-bd68-489c245b8c16'
2
-H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwNDA3MzczOSwiaWF0IjoxNjA0MDU1NzM5fQ.ZS06eeAkGHqXVJN2WQndVsl6e1GWOPHKNnBKnzxyhwG-0HoPlzaKX06ENO2E5FQ4kAvfChmcU-iSYWQHBzEPig" -H "accept: */*"
Copied!
post
http://server-v1.2mee.com
/abtest/schedule
Schedule A/B Test
Schedule the A/B Test
1
curl -X PUT 'http://server-v1.2mee.com/abtest/schedule?id=1402602b-25d7-4af2-9002-b258aeeb2fe4&appId=bacb37d0-a51f-491b-bd68-489c245b8c16'
2
-H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwNDA3MzczOSwiaWF0IjoxNjA0MDU1NzM5fQ.ZS06eeAkGHqXVJN2WQndVsl6e1GWOPHKNnBKnzxyhwG-0HoPlzaKX06ENO2E5FQ4kAvfChmcU-iSYWQHBzEPig" -H "accept: */*"
Copied!
Last modified 8mo ago