Skip navigation
All Places > Products > Blog > Author: David Myers


3 Posts authored by: David Myers Employee

This post will address how you can display progressive web campaigns (with Web Personalization (RTP)), by changing the campaign based on the web visitor's previous visit and what they viewed. It's like nurturing for a web visitor, if the visitor saw Campaign A, then next time (separate session/visit) they come to the website show them Campaign B, and then the next visit after that show them Campaign C (based on seeing Web Campaign B and Campaign A).


One way to do this in Web Personalization (RTP), is segmenting based on the number of visit. For a 1st visit, show campaign A and then another segment for a 2nd visit, showing Campaign B, etc...


However, this does not completely satisfy the case above, as the user may not have seen a campaign to "move" onto seeing the next campaign or the visitor may not be coming in for their 1st or 2nd visit, they may be a 10th time visitor.


So, how to create a web nurturing campaign based on previous visit history and what campaigns the web visitor saw in previous visitors?


The answer: Using the User Context API in Segmentation.


Additional Info

See more on the User context API Here. "The User Context API exposes user and visitor level data across multiple sessions to enable advanced personalization capability leveraging historical user behavior and data."


NOTE: You need to request from Support to enable the User Context API for your Web Personalization (RTP) Account.


Make sure you read how to locate the Web Campaign ID.


Assuming we want to show the web visitor, the following campaigns in this order for each of their visits:


  1. Campaign A (id = 111)
  2. Campaign B (id = 222)
  3. Campaign C (id = 333)


In Web Personalization > Segmentation, create the following Segments:


Drag and Drop the User Context API, Select "Campaigns - Viewed" and insert the Campaign ID




Segment: WHERE User Context API "Campaigns - Viewed" IS NOT "111"




Segment: WHERE User Context API "Campaigns - Viewed" IS "111" AND IS NOT "222"




Segment: WHERE User Context API "Campaigns - Viewed" IS "222" AND IS NOT "333"


This post shows how to locate the Web Campaign ID. The Campaign ID is usually used for Javascript API use cases.

In the Web Personalization (RTP) app, Go to Web Campaigns, hover over the Campaign Name to locate the Campaign ID in brackets.


See two examples of how we categorize content for the predictive content recommendations that will only show the categorized content in the rich media output.


See full documentation here to set up and implement the Rich Media Recommendations and Categories: Enabling Rich Media Recommendation Engine


What is a Category?

Use a Content Category to group content for a specific rich media recommendation template. Leaving the category empty applies the content to all recommendation templates (recommended). However, if you want to recommend only specific content for a Rich Media template, add a category for the content and associate that category with the recommendation template.

Example: Categorizing relevant content according to sections of your website (products or solutions).


2 Examples


Hatch Early Learning


Hatch Early Learning only show Webinar related predictive content on their thank you page after webinar registration.

Live Example Here:


Screenshot below of the predicted content and the JavaScript Code showing the content Category is "Webinar" Hatch Early Learning only show Webinar related predictive content on their thank you page after webinar registration.


On, we also categorize predictive content based on the different solutions we offer.


For Customer Marketing, see the Rich Media recommendations at the bottom of the page:


Screenshot here of Predictive content on Marketo's Customer Marketing Page and the JavaScript code behind Categorizing the content as "Customer" related content.



So, those are two examples of how customers and Marketo are using the categorize content feature for displaying Predictive Content.

Filter Blog

By date: By tag: