Last page view filter
The Last page view filter matches visitors by when they last viewed a page on your site before the current one. Use it to target visitors who come back after a break, such as "last page view was not in the last 14 days", or to recognize visitors who were here recently.
Available on: all platforms.
How it's evaluated
The filter compares the time of the visitor's previous page view, not the current one, with your date window. The previous page view can be earlier in the same visit or in an earlier visit.
Options
The filter reads: Last page view was / was not date window.
Option | What it does | Values / default |
|---|---|---|
was / was not | Whether the last page view falls inside the window or outside it | was |
in the last N days | A rolling window: the last N × 24 hours | Default 3 days |
on or after | The last page view happened on the selected date or later | Date |
before | The last page view happened before the selected date | Date |
Behavior details
- Brand-new visitors have no previous page view, so was doesn't match them and was not does.
- It changes with every page. On the second page of a visit, the last page view is the first page, a few seconds ago. "Was not in the last 14 days" therefore matches a lapsed visitor on the first page of their return only. Show the message on the landing page (for example with a Landing trigger), or, in a campaign, use the Permanent targeting mode so the visitor keeps their experience after the first page.
- Per browser. Like all visitor data, it's tied to the visitor's browser through a first-party cookie and browser storage. A visitor who clears cookies is new again.
Examples
- Win-back message: Last page view was not in the last 30 days, with a popup that highlights what's new since their last visit.
- Lapsed-visitor experiment: a content campaign targeted at Last page view was not in the last 30 days, with Targeting mode set to Permanent so the visitor keeps their variation after the first page, when the filter stops matching. See Campaigns.