Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

A/B testing delivery configuration

james_icf
Level 3
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
Adhiyan
Correct answer by
Employee
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
Adhiyan
Correct answer by
Employee
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

james_icf
Level 3
Level 3

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

romainr89040357
Level 1
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

Vapsy
Employee
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

jasonw30638826
Level 4
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