Export AB test results via API and attribute variations | Community
Skip to main content
Level 1
August 6, 2026
New

Export AB test results via API and attribute variations

  • August 6, 2026
  • 1 reply
  • 15 views

The standard endpoints used to export results do not support returning the specific test variant details for A/B-tested emails. When an email is part of an A/B test, the API returns the generic value "Whole Emails Test."

This value identifies that the email belongs to an A/B test group, but it does not indicate whether the email was Variant A or Variant B. As a result, the specific variant cannot be determined using the results.

I understand that this information is important for your use case. However, at the moment, we do not have an API endpoint that can identify whether an email belongs to Variant A or Variant B.
 

1 reply

BlaneMcMichen-1
Adobe Employee
Adobe Employee
August 7, 2026

Marketo’s standard A/B test-results export identifies the parent test group—for example, Whole Emails Test—but it does not consistently return whether each person received Variant A or Variant B.

For the existing send, we can investigate the underlying Send Email activity export. In some cases, the activity contains a Test Variant or testVariantID attribute that can be used to associate a recipient with a test variant. The availability of that field, and whether it includes a readable variant name, should be validated for the specific Marketo instance and test.

For future campaigns where recipient-level attribution is required, the most reliable workaround is to create Variant A and Variant B as separate email assets, randomly split the audience through Smart Campaign branches, and place recipients into separate static lists for each branch. The results can then be reported using the standalone email asset IDs and list memberships.

This provides a dependable recipient-to-variant mapping, but winner selection and the send to the remaining audience would need to be handled by a follow-up Smart Campaign or an external reporting/orchestration process.