Hi @michael_soprano,
It is possible using profile scripts. You don't need CDP/ Analytics for this.
Step-1: Configure a profile script for setting the timestamp of the required page view and calculate the no. of days since last page view.
if (mbox.name === "your-mbox"){
if (page.url.toLowerCase() === "target page url"){
user.setLocal('lastVisitPageX', new Date().getTime());
}
}
var lastVisit = user.getLocal('lastVisitPageX');
if (lastVisit){
return (new Date().getTime() - lastVisit) / (1000 * 60 * 60 * 24); // Convert to days
}
}
Step-2: Activate the profile script and enable response token for debugging.
Step-3: Create an audience based on your requirement using the "no. of days since last page view" profile attribute.