Skip to content

Pages

The Pages card on the Targeting tab decides which pages of your storefront the stage is eligible to fire on. Two independent axes: page types (a checkbox list of known Shopware page types) and URL patterns (glob patterns to match arbitrary URLs).

Both are strict opt-in — empty matches nothing. You must pick at least one page type, or set at least one URL pattern, or the stage will not display anywhere.

A checkbox list of known Shopware storefront page types. Pick the page types where the stage should display.

  • Home page
  • Category page
  • Product page
  • Search page
  • CMS page
  • Cart page
  • Checkout pages
  • Customer account

The current page’s type is computed server-side on every request and matched against this list during resolve.

A text area where each line is a glob pattern. Patterns match the full request URL path:

  • * matches any characters except /.
  • ** matches any characters including /.
  • ? matches a single character.

Examples:

  • /sale/* — matches /sale/spring, /sale/winter but not /sale/spring/details.
  • /sale/** — matches /sale/spring/details and any deeper path.
  • /product/? — matches /product/1 through /product/9.
  • /checkout (exact) — matches only /checkout.

Empty matches no URL — same strict opt-in policy as page types.

When both axes are set, the Pages / URL match operator decides how they combine:

  • OR — match page types or URL patterns (default) — fire on any page that satisfies either axis. Most permissive; useful for “fire on all product pages OR on /promo/*”.
  • AND — match page types and URL patterns — fire only when both axes match. Most restrictive; useful for “fire only on product pages within /category/sale/*”.

The operator is hidden / ignored when only one axis is set — there’s nothing to combine.

GoalPage typesURL patternsOperator
Fire on every product page✓ Product page(empty)n/a
Fire only on /promo/* regardless of page type(none)/promo/*n/a
Fire on cart and checkout✓ Cart, ✓ Checkout(empty)n/a
Fire on category pages within /sale/* only✓ Category page/sale/*AND
Fire on home OR /welcome/*✓ Home page/welcome/*OR

How it interacts with the rest of targeting

Section titled “How it interacts with the rest of targeting”

The page filter is just one axis. A stage is eligible for the current request only when all of these pass:

  1. Active toggle on, schedule in range (Schedule).
  2. Sales channel matches (Audience).
  3. Customer group matches.
  4. Rules evaluate true.
  5. Page filter (this page).
  6. Other association filters (categories / products / manufacturers / streams / CMS pages, if set).

Failing any of them filters the stage out at resolve.