Skip to main content
Level 3
Nov 13, 2019 3:17 PM UTC
Solved

Time Zone based deployment testing - Help

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
Nov 19, 2019 6:53 PM UTC

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

 

3 replies

somasundaram_h
Community Advisor
Community Advisor
Nov 18, 2019 10:01 AM UTC

Hi,

In the inbound transitions, if you already know the recipient's time zone, use test activity and use a wait step. You can achieve this.

Translate
wpomeroyAuthor
Level 3
Nov 18, 2019 4:26 PM UTC

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.

Translate
Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
Nov 19, 2019 6:53 PM UTC

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

 
Translate