Create Audience Product Detail View greater than or equal 3

Bronze Contributor
Bronze Contributor

Hi all,

how do i create an audience of users, who did more or equal to 3 product detail views within the last 7 days?

Thank you very much!

 

2 REPLIES 2

Create Audience Product Detail View greater than or equal 3

Employee Emeritus

Hi @Fabi 

 

To implement this use case, you will need:

  • Visit Scoped Number Attribute
  • Visitor Scoped Badge Attribute
  • Audience 

Step 1: 

  • Create a Visit Scoped Number Attribute with an enrichment that will increment by 1.  In this example I call it "PDP Visit Count"
  • Add a rule so that the enrichment will occur when the user visits the PDP page
  • In the image below, the rule is driving the enrichment and in this example, page_name is used to identify if a webpage is a Product Detail Page (PDP), it may be different on your website.
  • services-nam-ngo | main 2020-07-06 08-55-54.png

Step 2: Create a Visitor Scoped Badge to assign when the Visit Scoped Number Attribute equals 3

  • Create a Visitor Scoped Badge, for example, "Visited PDP Page 3 Times"
  • Add an enrichment to Assign this badge with a rule for when the "PDP Visit Count" Number Attribute equals 3
  • (optional) If you want this badge removed after each visit, you can add an additional enrichment to remove that badge when VISIT ENDED

services-nam-ngo | main 2020-07-06 09-06-21.pngStep 3: Create an Audience based on the Badge you just created.

  • Create an Audience based on the "Visited PDP Page 3 Times" Badge just created

services-nam-ngo | main 2020-07-06 09-17-54.png

 

After that, you should be all set. Hope This helps!! 

Create Audience Product Detail View greater than or equal 3

Employee Emeritus

Hi @Fabi 

 

My apologies, I completely overlooked that you wanted to activate the audience within the time frame of 7 days.  To do there are 4 steps:

  1. Create a Visitor Scoped Timeline Attribute to capture when a customer visits a PDP page and expires after 7 days
  2. Create a Visitor Scoped Number Attribute that captures that enriches by capturing the number of entries in the timeline
  3. Create a Visitor Scoped Badge Attribute that enriches based on the Number Attribute
  4. Create an Audience based on the Badge

 

Step 1: Create a Visitor Scoped Timeline Attribute to capture when a customer visits a PDP page and expires after 7 days 

  • Add a visitor scoped Timeline Attribute
  • Add an enrichment to capture the timestamp on ANY EVENT with a rule that the page_type equals PDP (may be different on your website) 
  • Add an enrichment that sets the expiration of the timeline, within this example: 7 days
  • services-nam-ngo | main 2020-07-07 10-36-24.png

 

Step 2. Create a Visitor Scoped Number Attribute that captures that enriches by capturing the number of entries in the timeline

  • Add a visitor scoped Number attribute
  • Set the Type to Integer
  • Add an enrichment that sets the Number attribute to the number of events captured in a Timeline
  • Select the Timeline you created in Step 1
  • services-nam-ngo | main 2020-07-07 10-37-02.png

Step 3. Create a Visitor Scoped Badge Attribute that enriches based on the Number Attribute

  • Add a visitor scoped Badge Attribute
  • Add an enrichment to assign the badge when the number attribute created in Step 2 is assigned and greater than or equal to 3
  • (optional) Add an enrichment to remove the badge when the number attribute created in Step 2 is unassigned and less than 3
  • services-nam-ngo | main 2020-07-07 10-47-55.png

Step 4. Create an Audience based on the Badge

  • services-nam-ngo | main 2020-07-07 10-50-26.png

 

Please let me know if this helps!

Public