Expand my Community achievements bar.

SOLVED

A/B testing delivery configuration

Avatar

Level 3

Hello,

I used the following documentation to set up and send out an A/B test.

A/B testing

However, the Delivery item after the script didn't have clear directions on how to configure. I had the following options checked, and I got an error saying, "The transition does not specify a content identifier". How should the delivery object be configured to send out correctly?

Delivery

     Specified in the transition

Recipients

     Specified by the inbound event(s)

Content

     Specified by the inbound event

Offers

     Configured in the delivery

Actions to perform

     Prepare and start

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi James,

You should use these the option computed by a script in the delivery and provide the name of the script as vars.deliveryId.

This variable is defined in the JS script prior to the delivery.

The content should be specified in the delivery as we are duplicating the winner template already and that will have the content selected.

Find below a screenshot of the correct A/B test configuration.

1375483_pastedImage_0.png

Regards,
Adhiyan

View solution in original post

6 Replies

Avatar

Correct answer by
Employee

Hi James,

You should use these the option computed by a script in the delivery and provide the name of the script as vars.deliveryId.

This variable is defined in the JS script prior to the delivery.

The content should be specified in the delivery as we are duplicating the winner template already and that will have the content selected.

Find below a screenshot of the correct A/B test configuration.

1375483_pastedImage_0.png

Regards,
Adhiyan

Avatar

Level 3

Thank you for this information, Adhiyan. This makes sense. i will test it out and see how it goes!

Avatar

Employee

Sure , let me know how it goes .

Avatar

Level 1

Hello Adhiyan,

What do you exactly mean by "This variable is defined in the JS script prior to the delivery."

Do you mean we need to add a "js" activity that will gather the related variable?

If yes, could you give us an example of the js script to use?

Kr,

Romain

Avatar

Employee

Hi romainr89040357,

There are multiple ways to calculate and assign a value to the deliveryId variable. Once way is to create a JS activity right after the Wait activity in the winner transition. This page explains the aforesaid process A/B testing

Another way is to define everything inside Initialization Script of the winner delivery activity. Here you can copy the entire code of JS activity into the Initialization script section of winner delivery Advanced tab.

Hope I've been able to answer your query.

Regards,
Vipul

Avatar

Level 4

Hi Vipul,

It works for me on the second option. (to define everything inside Initialization Script of the winner delivery activity.)

The first option (to create a JS activity right after the Wait activity in the winner transition) A/B testing  doesn't work for me. It always sent to campaign A even campaign B has higher open rate.  My question is, do I need to configure the Delivery item if I use this method? This tutorial A/B testing  doesn't mention anything about the Delivery item configuration, I assume there is no configuration needed?

Thanks,

Jason