https://<subdomain>.sendsmaily.net/api/split.php


Parameters

All parameters must be URL encoded.


 

Parameter

Value

id

Unique ID of the A/B split test campaign, which will be given with the response when starting the campaign. Required.

detailed

Include detailed opens/clicks statistics per contact with response. Possible values: 0 - not included; 1 - detailed statistics is included.


Response fields

 

Field

Value

winner

Deprecated.

name

Email subject.

total_count

Number of subscribers in the split.

delivered_count

Number of successfully delivered emails in the split.

click_count

Number of link clicks in the split.

unique_click_count

Number of unique link clicks in the split - subscribers who have clicked on a link at least once.

click_percent

Number of unique link clicks divided by number of successfully delivered emails, presented as percentage.

view_count

Number of image downloads in the split.

unique_view_count

Number of unique image downloads in the split - subscribers who have downloaded the images at least once.

view_percent

Number of unique image downloads divided by number of successfully delivered emails, presented as percentage.

opened_count

Number of unique opens. Subscibers who have downloaded images and / or clicked on a link at least once.

opened_percent

Number of unique opens divided by number of successfully delivered emails, presented as percentage.

addresses

Array of per subscriber detailed statistics. Added only when request parameter detailed value is 1.

 - email

Contact’s email address.

 - sent_at

Delivery date and time. Formatted as YYYY-MM-DD HH:MM:SS.

 - opens

Number of opens. Value includes clicks.

 - clicks

Number of links clicked.

 - links

Array of links clicked.

 - href

Link’s URL in the template.

 - visit_at

Date and time of the first click on this link. Formatted as YYYY-MM-DD HH:MM:SS.

 - count

Number of times clicked on this link