Using Marketo activity data to create segments allows you to expand your ability to target website content to your visitors. These segments can gather data based on the activities your website visitors perform.
As an example, you want to show a particular piece of content to visitors who have clicked on a Marketo email with a mailing ID of [SomeMailingID]
at least once in the past 30 days. To create a segment for these visitors, complete the following steps:
- Sign in to the Personalization interface as an administrator, and then click the Admin tab.
- Configure your Marketo connector to map the Marketo Click Email activity and its Mailing ID attribute to custom_field_10 in the Event table. For more information about how to do so, see the Adding activity mappings section in Configuring the Marketo connector in Personalization.
- Click the Segments tab.
- Click the Add new segment link.
- Enter values in the following fields for the new segment:
- Name - Name of the segment as displayed in the Personalization Admin
- ID - Name of the segment when displayed as a context in the Personalization Drupal Drupal modules
- Description - Additional descriptive information about the segment, such as a narrative of its criteria
Select the Apply segment to all customer sites checkbox to use this segment across all your websites.
To apply this segment to specific customer sites, complete the following steps:
- Clear the Apply segment to all customer sites checkbox. Personalization displays a list of your customer sites.
- Click a customer site to which you want to apply this segment.
- Click Add. Personalization displays a list containing the following information:
- Name - The name of your customer site as displayed in the web browser
- External ID - The name you specified when you created this customer site in Personalization
- URL - The web address of your customer site
- Actions - Additional steps you can take regarding this customer site’s use of this segment, including removing this customer site from the list of customer sites to which the segment will apply
- To add more customer websites that will use this segment, click their names in the list of your customer websites. Personalization displays the new customer website in the list of websites to which this segment will apply.
- Click the Delete link to remove this website from the list of customer sites to which this segment will apply.
- In the Segment criteria section, use the initial drop-down list to set the relationship between each of the criteria you select for the segment. Select from the following values:
- All - The segment will display only those people that meet all of the defined criteria. (AND operator)
- Any - The segment will display those people that meet any of the defined criteria. (OR operator)
- None - The segment will display those people that do not meet any of the defined criteria. (NOT operator)
Click in the field that contains the value Edit Criteria. Personalization displays a dialog box. To add segment criteria, complete the following steps:
- In the Category Name list, click Event.
- Click Event Count. Personalization displays more fields.
- In the Customer Site list, click the customer site to which you want this segment to apply.
- In the Event Name list, click
marketo_click_email
. - In the Operators field, select >=.
- In the Values field, enter 1.
- In the Time Period field, click Past 30 Days.
- Click OK. Personalization displays the segment attribute on Segments > Segment Detail.
You have now added the segment’s first attribute, which states that the segment will contain all website visitors who clicked on a Marketo email at least once in the past 30 days. To add the mailing ID of
[SomeMailingID]
, complete the following steps:- Click Sub-criteria.
- In the initial list, keep the default value of All.
- Click the field that contains the value Edit Criteria. Personalization displays a dialog box. To add the segment’s mailing ID, complete the following steps:
- In Category name, click Select Criteria. Personalization displays a list.
- Click Marketo. Personalization displays another list.
- Click Mailing ID.
- In Operators, keep the default value of Matches One.
- In the Values field, enter
[SomeMailingID]
where[SomeMailingID]
is the mailing ID of the email the visitor must have clicked at least once in the past 30 days to be included in this segment. - Click OK. Personalization displays the segment and its new sub-criteria.
- Click Save to save this segment.
You have now created a segment using Marketo activity data. You can use this segment to track your website visitors’ behavior. You can also add this segment to a personalization.