One audience for every landing page under our /promo/ path?
As a growth PM, I want anyone whose session started on any of our promo landing pages to fall into one audience, so that they get consistent follow-up messaging as they browse.
We have about a dozen pages under /promo/ and we launch new ones monthly. Listing every URL in the condition and updating the list each launch is what I want to avoid.
what's the simplest option here?
1 answer
The simplest option is matches on the session's landing page instead of exact equality.
session's landingPage matches "/promo/"matches does substring and pattern matching, while is requires exact equality. Since all your campaign pages share the /promo/ prefix, one condition covers every page you have and every page you launch later. No list to maintain.
Two things to keep straight:
- session's landingPage is where the session STARTED. That is what you asked for (entered through a promo page, then browsed on). If you instead wanted "is currently viewing a promo page", that is page's path, which reflects the current page.
- If you ever do have a stable, finite set of pages, the exact-match alternative is an is in list, like page's path is in ["/home", "/about"]. For a growing set like yours, the pattern form is the right call.
The landingPage vs current page distinction was exactly the thing I was fuzzy on. One condition, set and forget. Thanks!