How can we help?

Time of day analysis

Overview

Ever wondered what time of day your messages perform the best? We've made it possible to find out by using a combination of Smarty, batch message throttling, and stats filters.

In our example, we'll add a few lines of Smarty code to the top of our message code, throttle the batch message send according to the hours we want to test, and then filter the message stats based on the message send times. We can then analyze performance based on opens, clicks, or any of the available KPIs.

Our example 

Click on the tabs to view the message code, the scheduled sending setup, and the filtered stats results.

{$hour = $utils->getNow('America/Los_Angeles', "h_A")}
{$utils->addSendTag($hour)}

<!--Message HTML -->

Message code

For the message code, we'll use a combination of two Smarty tags to render the current time, and then use that time as a stats filter send tag.

Render current time when the message sends

The following Smarty code will set a variable called hour that's populated with the current time (in PDT) when the message sends. To learn how to further customize the time format, visit our article on date and timestamp variables.

{$hour = $utils->getNow('America/Los_Angeles', "h_A")}

Create a stats filter send tag using the current time

Next, we'll create a stats filter send tag using the time variable we created above. We can then filter our stats based on the time of day the message was sent.

{$utils->addSendTag($hour)}

Place both Smarty tags at the top of your messageproceeding any HTML codeand save your message. Next, set up message throttling for the times you would like your message to send.

Schedule message throttling

After choosing which hours of the day you would like to test, set up your sending schedule in the Schedule Sending pane.

For our example, we want to test how a message performs when sent at 9AM vs 3PM. We'll set up our schedule to send the messages in two batches, one batch at 9AM and the remaining batch at 3PM.

Stats filters results

After the message has finished sending, view the results in the Stats Filters section of the sent message performance page.

Click the Filter by Tag button to add the desired filters to the table. Available tags will be displayed in the dropdown based on the the throttled batch send times. In our example we have tags for 9AM and 3PM.

Once you've added your send tags, you can view message performance for each tag.

In the example below, the message sent at 3PM had more more opens (134) than the message sent at 9AM (108).

Comments

0 comments

Please sign in to leave a comment.