This page provides information about how to use segments and variants for the following scenario:
Marketers want to create a holiday season marketing campaign, specifically focused on launching a new Google Matchback campaign within the Google Ads channel. The primary objective is to execute a segment A/B test to assess four different combinations of ads. Strategically segment the holiday shoppers into smaller groups to obtain valuable insights into the campaign bids that generate the highest return on engagement. The value of this campaign is to retarget people who are not contactable by email.
Checklist for using segments and variants
Complete the following tasks to use segments and variants for the given scenario:
S.No. | Task | Description | Link to detailed steps |
---|---|---|---|
1 | Setup | Log in to the CDP user interface and create a new campaign. | Setting up a campaign |
2 | Audience | Set up the Audience for your campaign. | Setting up the audience |
3 | Segment Criteria | No setup required for the given scenario. | - |
4 | Segments & Variants | Create segments and variants. | Setting up segments and variants |
5 | Content | Assign personalized content to export with the audience. | Setting up the content |
6 | Destination(s) | Select a destination channel to export the audience and content. | Selecting the destination |
7 | Summary | Review, schedule, and execute your campaign. | Reviewing the summary |
Setting up the audience
To set up the audience:
In Include customers who, click the Add group icon.
The system displays the Add Rule page.
- Click Customer Attributes and do the following:
- Add the Email Opt-out rule.
- Select the
equal to
operator. - Set the value to
Y
.
Click the Add rule icon.
The system displays the Add Rule page.
Click Purchase Activity and do the following:
- Add the Spent a certain amount in a transaction rule.
- Select the
greater than
operator. - Set the value to
75
. - Select the
in the last
operator. - Set the value to
30
Days
. - Select the
in
operator. - Set the value to
Shipped
. - Click the Filter icon to add refinement to the Purchase Activity rule.
- Select Organization and add the Channel refinement.
- Select the
equal to
operator. - Set the value to
Physical
.
- Click Next.
Setting up the segments and variants
You can set up segments and variants methods by using any of the following methods:
- A/B Test: It is a common practice in marketing domain and data analysis. It involves dividing your audience into multiple segments of equal sizes. For example, A, B, C, and the remainder.
- Limit by Quantity: It is a segmentation method that restricts the size of your main audience to a predefined number of individuals. This is useful when you want precise control over the audience size in each segmented variant.
Setting up the segments and variants using A/B Test
To set up segments and variants using A/B Test:
- Drag and drop the A/B Test filter to the canvas.
Click the Audience node.
The system displays the icons to resize and connect segments downstream.
- Click and drag the Audience node and connect it to the A/B Test node.
- To define the filter split for the A/B Test:
On the A/B Test box, click the Add icon.
The system displays the Create Variant dialog box.
- Enter the variant name as
Shopper_Group_A
. - Enter the variant percentage as
25
. - Click Apply.
In the Create Variant dialog box, repeat the steps to create filter splits for
Shopper_Group_B
andShopper_Group_C
, ensuring the variant percentage of25
.
Setting up the segments and variants using Limit by Quantity
To set up segments and variants using Limit by Quantity:
- Drag and drop the Limit by Quantity filter to the canvas.
Click the Audience node.
The system displays the icons to resize and connect segments downstream.
- Click and drag the Audience node and connect it to the Limit by Quantity node.
- To define the filter split for the Limit by Quantity:
On the Limit by Quantity box, click the Add icon.
The system displays the Create Variant dialog box.
- Enter the variant name as
Shopper_Group_A
. - Enter any number as the variant count.
- Click Apply.
- In the Create Variant dialog box, repeat the steps to create filter splits for
Shopper_Group_B
andShopper_Group_C
.
- Click Next.
Setting up the content
The Customer Attributes category and the Email address attribute are added by default.
To downstream your data, you must configure the content. The Global section contains the list of segment names with numerical values.
Note
If you select a segment name, CDP does not push that segment downstream.
The following are the methods to set up the echo content (echo content link: https://docs.acquia.com/customer-data-platform/actions/campaigns/standard-content-elements#section-calculated-content-models):
- Default: Creates a one-to-one relationship where it transforms all the segment names and groups under a single header. You can primarily use this method for organizing customer record data, especially in the context of your export.
- Custom: Creates a one-to-many relationship that involves remapping split, enabling the association of multiple header and values. You can primarily use this method for organizing customer record data, especially in the context of your export.
Setting up the echo content using the default method
To add the default Echo attribute:
On the top right corner, click the List icon.
CDP automatically assigns a default header name as
variant_name
. The variant names are grouped as values.The file structure consists of the following fields:
- The email address
[email protected]
contains one header. The following is the specific transformation:
Header “segment_name” contains all the values Shopper_Group_A, Shopper_Group_B, Shopper_Group_C, and Remainders.
- The email address
Setting up the echo content using the custom method
To add a custom Echo attribute:
- On the top right corner, click the Add icon.
Rename the header and customize the values as required.
The file structure consists of the following fields:
- The email address
[email protected]
contains two headers. - The following is the specific transformation:
- Header CustomHeader1 contains the value “ShopperA”.
- Header CustomHeader1 and CustomHeader1 are black, which creates a NULL value.
Before the file is ready to be downstreamed, the field and the values are pivoted.
- The email address
- Click Next.
Selecting the destination
On the Destination(s) page, click Add new destination channel.
The system displays a list of destinations that are configured for your environment.
Select a destination channel to export the audience and content.
For example, Secure File Transfer Protocol (SFTP), Data Management Platform (DMP), Email Service Provider (ESP), and Social Media.
- Click Next.
Reviewing the summary
- On the Summary page, review the summary of the campaign.
- To send the campaign, click Send Now.