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.
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:
- Campaign A (id = 111)
- Campaign B (id = 222)
- 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"