Page types
Ta treść nie jest jeszcze dostępna w Twoim języku.
Every event carries the type of its page. The funnel, reports, auto mode and replay masking 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, checked in order. For example “Starts with
/koszyk” → Cart. -
Guessing: on IdoSell from the page marker IdoSell puts on every page (off with
init({ platformPageDetection: false })), then from product data on the page and words in the URL path, such askoszyk,cart,checkout,zamowienieorkasa. Aq,queryorsparameter 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. Most shop platforms and SEO plugins 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>