A/B testing delivery configuration

Avatar

Avatar

james_icf

Avatar

james_icf

james_icf

18-12-2017

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Adhiyan

Employee

Avatar

Adhiyan

Employee

Adhiyan
Employee

18-12-2017

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

Answers (5)

Answers (5)

Avatar

Avatar

jasonw30638826

Avatar

jasonw30638826

jasonw30638826

02-03-2018

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

Avatar

Avatar

Vapsy

Employee

Avatar

Vapsy

Employee

Vapsy
Employee

04-02-2018

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

Avatar

romainr89040357

Avatar

romainr89040357

romainr89040357

02-02-2018

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

Avatar

Adhiyan

Employee

Avatar

Adhiyan

Employee

Adhiyan
Employee

20-12-2017

Sure , let me know how it goes .

Avatar

Avatar

james_icf

Avatar

james_icf

james_icf

18-12-2017

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