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 |
How a page gets its type
Section titled “How a page gets its type”The first of these that gives an answer wins:
-
A
pagecall on the page:qm("page", { type: "thank_you" }); -
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. -
Guessing: product data on the page, and words in the URL in Polish, English and German, such as
koszyk,cart,checkout,zamowienieorkasa.
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
Section titled “Product pages”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>