1. Help Center
  2. Build
  3. Setting Up a Campaign

Creating Time-Based Promotions and Messages

Your e-Commerce site may have different shipping rules based on time of day. For example, you may offer 24-hour shipping if an order is placed before 6:00 pm. To inform your visitors of this policy, you want to show different shipping messages based on time of day.

In order to do that, you can build Variations that show different messages on your website based on time of day. Using time-based Audiences as Triggers you can dictate when the Variation should be applied. To do so:

Create Two Time-Based Audiences

Create two Time-Based Audiences, one for daytime and one for nighttime. To create a Time-Based Audience:

  1. Select NewAudience.
  2. On the Audience page, select the type of Audience you want to create. For this example, select Time. Click New on the right end of the row that contains the Time Audience.
  3. Complete the page as shown in the following image, using the time settings that work for your specific situation.
  4. Click Save at the bottom of the page.

The following image shows the daytime Audience.

Creating Time Based Promotions and Messages - New Audience

The following shows the nighttime Audience Trigger.

Creating Time Based Promotions and Messages - New Audience II

Build a Campaign with Daytime and Nighttime Messages

Create an A/B Campaign and include in a Variation Group, two Variations that use Time-Based Audience Triggers, one for each time span, Daytime and Evening.

  1. Select NewA/B Test.
  2. Complete the General section as you usually do, filling in Name (Shipping Messaging), StatusType, and so on.
  3. In the Variations section, rename Variation Group 1 to Shipping Messaging or whatever works for your business).
  4. Select Find & Replace.

Use Time-Based Audiences as Triggers

The heart of the Campaign is the Variation Group, where you create two time-based Audience Triggers, each one selecting visitors based on time of day.

  1. In the Shipping Messaging Variation Group (formerly Variation Group 1), rename Variation 1 to Daytime Messaging.
  2. Select Audience from the Triggers drop-down.
Creating Time Based Promotions and Messages - Use Time Based Audiences as Triggers
When you do, a drop-down appears at the right that contains only Audiences that are created based on Time, Mobile, or Data Sets.
Creating Time Based Promotions and Messages - Use Time Based Audiences as Triggers II
  1. Select the time-based Audience called Daytime Eastern Time that you created above.
  2. Select Copy from the three-dot menu at the right end of the Variation called Daytime Eastern Time. SiteSpect creates the copy and calls it Daytime Eastern Time (Copy).
  3. Rename it to Nighttime Messaging.
  4. Open it and in the Triggers area, replace Daytime Eastern Time by selecting Nighttime Eastern Time.

When you're done the Triggers area looks like the one in the following image:

Creating Time Based Promotions and Messages - Use Time Based Audiences as Triggers III