Skip to content

Page types

Every event carries the type of the page it happened on. The funnel, the Pages & speed report, auto-mode detection and replay masking all depend on it.

Type Page
home The home page
category A category or other product list
search Search results
product A product page
cart The cart
checkout Any checkout step
thank_you The order confirmation
account The customer’s account pages
other Anything else

The first of these that gives an answer wins:

  1. A page call on the page:

    qm("page", { type: "thank_you" });
  2. Your page type rules, in Analytics settings → Page type rules. Each rule matches the URL’s path by Exact path, Starts with or Regular expression, for example “Starts with /koszyk” → Cart. They are checked in order.

  3. Guessing: product data on the page, and words in the URL in Polish, English and German, such as koszyk, cart, checkout, zamowienie or kasa.

Rules and guessing read only the URL’s path, not its query string. The one exception is search: a q, query or s parameter marks a search page.

Use the Page-type tester on Install & setup to see what type a URL gets.

Product pages are recognised from schema.org Product data in JSON-LD. Quomerce also reads each product’s name, price and availability from it, as visitors see them. Most shop platforms and SEO plugins already add it. If yours does not, render it on the server:

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "RTX 4070",
"sku": "GPU-4070",
"productID": "gpu-1",
"image": "https://example.com/img/rtx-4070.jpg",
"offers": {
"@type": "Offer",
"price": 2899.99,
"priceCurrency": "PLN",
"availability": "https://schema.org/InStock"
}
}
</script>