Time Zone based deployment testing - Help

wesp27904446

13-11-2019

Hey All,

I'm trying to do some A/B email testing based on reciepient time zone and i'm running into a bit of a brick wall.  Essentially, I want to test and see if a specific hour delay based on the time zone of the recipient results in higher open and conversion rates.  I could do this via a split to delay activity based on recipient state but it seems like there is probably a more elegant way to achieve this.  Has anyone ever experiemented with this using a javascript activity or javascript within the email delivery itself?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Milan_Vucetic

MVP

19-11-2019

Hi,

you can use JS and create several branches for different deliveries.

Create JS node and input code (change it per your needs):

var timezone= 1;
if(timezone> 1){
task.postEvent(task.transitionByName("branch1"));
} else {
task.postEvent(task.transitionByName("branch2"));
};

If you do not need branches then just invoke a workflows or deliveries in the {}.

Regards,

Milan

 

Answers (2)

Answers (2)

wesp27904446

18-11-2019

Thank you for the response.  Would you be able to provide more details on this suggestion?  If possible i'd like to avoid a branch for each time zone, just for the sake of workflow elegance, and attempt to prioritize on the back end via JS or in the delivery itself.  Your suggestion may achieve that goal but i'm not sure i fully understand the setup.