diff --git a/.gitignore b/.gitignore index 97d6305..d9faaed 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,10 @@ /content/docs/api/org-trackers/ /content/docs/api/releases/ /content/docs/api/analytics/ +/content/docs/api/performance/ +/content/docs/api/visitors/ +/content/docs/api/sales/ +/content/docs/api/error-tracking/ /content/docs/api/api-keys/ /content/docs/api/connections/ /content/docs/api/search/ diff --git a/content/docs/analytics.de.mdx b/content/docs/analytics.de.mdx index e2dd2af..f54b97b 100644 --- a/content/docs/analytics.de.mdx +++ b/content/docs/analytics.de.mdx @@ -33,11 +33,11 @@ Der Shopfloor unter Analytics (`/shopfloor`) zeigt deinen Shop live von oben. - **Ein Klick oder Tipp auf eine Zone** zoomt hinein: ihre Seitentypen und ihre Top 10 URLs der letzten 30 Minuten mit Pageviews und LCP. - **Für einen Wandbildschirm** setzt `?window=60&sound=1&kiosk=1` Zeitfenster, Kassenklingeln pro Bestellung und Kiosk-Modus. Ton ist per Default aus, und im Kiosk-Modus verschwinden Mauszeiger und Buttons nach drei Sekunden ohne Bewegung. - **Auf dem Handy** zeigt der Shopfloor hochkant seine Zahlen und bittet ums Drehen. Quer füllt die Fläche den ganzen Bildschirm. -- **Auf dem iPhone** bekommst du Vollbild, indem du fastmon zum Home-Bildschirm hinzufügst. Es öffnet sich dann als App ohne Browserleisten, im Shopfloor, wenn du es von dort hinzugefügt hast. +- **Auf dem iPhone** hältst du das Gerät quer und wischst nach oben. Safari blendet dann seine Leiste aus, und der Shopfloor füllt den Bildschirm. - **Filtern** kannst du nach Land, Gerät, Seitentyp und Traffic. Ein Filter von einer anderen Seite bleibt als blasser Chip mit dem Hinweis, dass er hier nicht greift. - **Er braucht [`store_stitch`](/de/tracker#store-stitch).** Eine Site ohne zeigt niemanden und sagt das auch. -Die API dazu: [`POST /analytics/live`](/de/api/analytics/queryAnalyticsLive) und [`POST /analytics/live-summary`](/de/api/analytics/queryAnalyticsLiveSummary). +Die API dazu: [`POST /analytics/live`](/de/api/visitors/queryAnalyticsLive) und [`POST /analytics/live-summary`](/de/api/visitors/queryAnalyticsLiveSummary). ### Partnerfloor [#partnerfloor] @@ -53,7 +53,7 @@ Die API ist `POST /organizations/{org_id}/partner/live`, abgefragt im Takt von ` ## Zeitraum [#time-range] -Die Zeitraum-Pille im Header legt das Fenster für alle Charts der Seite fest. +Die Zeitraum-Pille im Header legt das Fenster für alle Charts der Seite fest. Das Fenster bleibt, wenn du die Organisation, Applikation oder Site wechselst. - **Zoom**: Minus verdoppelt das Fenster, Plus halbiert es, auch mit den Tasten `-` und `+`. Ein Live-Fenster bleibt mit seinem Ende bei jetzt. - **Zieh über ein Trend-Chart**, um in diesen Abschnitt zu zoomen. Die Charts laden in der Auflösung neu, die dazu passt. @@ -78,11 +78,13 @@ Picker und Befehlsmenü bieten jede Bucket-Breite mit der Zahl der Buckets an, d Buckets ab 6 Stunden beginnen nach deiner Uhr: 6-Stunden-Buckets um 00, 06, 12 und 18 Uhr Ortszeit, ein Tag um Mitternacht, eine Woche am Montag. Über eine Zeitumstellung hat ein Tag 23 oder 25 Stunden. -## Filtern +## Filtern [#filtering] Neben dem Zeitraum-Picker sitzt auf jeder Analytics-Seite eine Filterleiste. Tipp eine Dimension und einen Wert, etwa `country = DE`, und drück Enter für einen Filter-Chip. Das Wertefeld schlägt die echten Werte des Zeitraums mit ihren Pageviews vor. -Die Dimensionsauswahl listet zuerst Seite, Land und Gerät, dann Browser, Betriebssystem, Verbindung, Viewport, Referrer, UTM-Felder, Click-ID-Label, Domain, Navigationstyp, Protokoll und die [Checkout-Stufe](/de/checkout-funnel). Leere Werte wie „Direkt / keine" lassen sich noch nicht filtern. +„Filter hinzufügen“ zeigt zuerst eine kurze Auswahl: deine zuletzt genutzten Felder, die gängigen und die, die zur Seite passen. Alle anderen stehen darunter, nach Gruppen sortiert. Die Suche kennt auch Werte: Gibst du „Chrome“ ein, setzt du den Filter in einem Schritt. + +Die fünf UTM-Felder sind unter „Kampagne (UTM)“ zusammengefasst, das einzelne Feld wählst du per Umschalter. Leere Werte wie „Direkt / keine“ lassen sich noch nicht filtern. Filter stehen in der URL und wandern über Views und geteilte Links mit. Mehrere Chips werden mit UND verknüpft, ein Komma in einem Wert bedeutet „eines von". Ein Klick auf einen Chip bearbeitet ihn, das X entfernt ihn, und der „Filter"-Button zählt die aktiven. @@ -90,7 +92,7 @@ Filter stehen in der URL und wandern über Views und geteilte Links mit. Mehrere **Jeder Chip hat einen Ein/Aus-Schalter.** Ausgeschaltet bleibt der Chip durchgestrichen an seinem Platz, und weder die Abfrage noch der Zähler berücksichtigen ihn. Ein Klick auf dasselbe Land in der Karte schaltet ihn wieder ein, und ein geteilter Link behält den Zustand. -Auf dem Handy ersetzt eine Reihe Chips über der Seite die Filter-Pille und das Seitenpanel, und der Zeitraum öffnet sich als Sheet von unten. +Auf dem Handy stehen Zeitraum, „Filter“ mit der Zahl aktiver Filter und die Darstellung in einer Leiste. Darunter siehst du jeden Filter und jede geänderte Einstellung als Chip, das x setzt sie zurück. ### Spärliche Daten und Tageszeit [#sparse-data] @@ -149,7 +151,7 @@ Fehler liegt in der Seitenleiste unter Monitoring, mit vier Seiten: JavaScript-F - Mehrere aufeinanderfolgende Frames aus demselben Vendor-Bundle klappen zu einer Zeile zusammen, die die Library nennt. Sind alle Frames Library, sagt das Panel das: Der Aufruf, der den Fehler gemacht hat, wurde bei fünf Frames abgeschnitten. - Ein Frame, der den Fehler nur weiterreicht, ist als Rethrow markiert, die Ursache sitzt dann weiter unten. - Ein Frame, der sich nicht lesen lässt, sagt warum: kein Pfad gespeichert, die Datei liegt auf fremdem Host, die Datei ist der fastmon-Tracker, oder du hast unter demselben Dateinamen neu deployt und die Position ist weg. -- Der Endpunkt ist [`POST /analytics/error-types/symbolicate`](/de/api/analytics/queryAnalyticsErrorSymbolication). Dasselbe Panel steckt in der Zeilen-Detailansicht des Explorers: Pageview öffnen, Fehler aufklappen, und der Stack löst sich auch dort auf. +- Der Endpunkt ist [`POST /analytics/error-types/symbolicate`](/de/api/error-tracking/queryAnalyticsErrorSymbolication). Dasselbe Panel steckt in der Zeilen-Detailansicht des Explorers: Pageview öffnen, Fehler aufklappen, und der Stack löst sich auch dort auf. **„Wo es auftritt" ist das Aufschlüsselungs-Raster der Metrikseiten**: Seite, Seitentyp, Domain, Land, Gerät, Browser, Betriebssystem, Verbindung, Navigation, Caches, Bots und Netzwerk. @@ -157,7 +159,7 @@ Fehler liegt in der Seitenleiste unter Monitoring, mit vier Seiten: JavaScript-F **„AI-Prompt" übergibt den ganzen Fall an einen Assistenten**: was kaputt ist, die Zahlen, der aufgelöste Stack mit dem Code an der Wurfstelle, wo es auftritt, und Beispiel-Vorkommen. Er schreibt dazu, was deine Site nicht erfasst. -**Welche API-Calls daneben fehlschlagen.** [`POST /analytics/error-types/correlated-requests`](/de/api/analytics/queryAnalyticsErrorCorrelatedRequests) sortiert die fetch/XHR-Endpunkte, die in denselben Pageviews scheitern, jeweils gegen ihre Fehlerquote in Pageviews ohne diesen Fehler. +**Welche API-Calls daneben fehlschlagen.** [`POST /analytics/error-types/correlated-requests`](/de/api/error-tracking/queryAnalyticsErrorCorrelatedRequests) sortiert die fetch/XHR-Endpunkte, die in denselben Pageviews scheitern, jeweils gegen ihre Fehlerquote in Pageviews ohne diesen Fehler. **Eine Fehlersignatur ist ein Filter wie jeder andere.** Jede Fehlerzeile führt in den Explorer, eingegrenzt auf die Pageviews, die sie getragen haben, und „Fehlersignatur" steht in der Filterliste. `filters.error_fingerprint_kind` sagt, aus welcher Liste der Key stammt (`error` oder `failed_resource`). @@ -178,7 +180,7 @@ Für die Zuordnung gilt die Regel der registrierbaren Domain von oben. **Die Lis **Ein ausgeblendeter Host** fehlt auch in den Summen: `host` und `exclude_hosts` grenzen sie ein, `ownership` nicht. -**Eine geöffnete Ressource lässt sich aufschlüsseln** wie eine geöffnete Fehlersignatur: die Datei, eine Zeitreihe, Breakdowns nach Seite, Browser, Gerät, Betriebssystem und Land, betroffene Besucher und Beispiel-Beacons. Übergib den `fingerprint` der Zeile an [`POST /analytics/failed-resources/detail`](/de/api/analytics/queryAnalyticsFailedResourceDetail). Die Fehler-Detailansicht weist einen Ressourcen-Key ab. +**Eine geöffnete Ressource lässt sich aufschlüsseln** wie eine geöffnete Fehlersignatur: die Datei, eine Zeitreihe, Breakdowns nach Seite, Browser, Gerät, Betriebssystem und Land, betroffene Besucher und Beispiel-Beacons. Übergib den `fingerprint` der Zeile an [`POST /analytics/failed-resources/detail`](/de/api/error-tracking/queryAnalyticsFailedResourceDetail). Die Fehler-Detailansicht weist einen Ressourcen-Key ab. `Fehlgeschlagene Ressourcen` ist ein eigener Filter und eine eigene Metrik: `>= 1` grenzt jede Ansicht auf Pageviews ein, bei denen etwas nicht geladen hat. In der Pageview-Detailansicht haben die fehlgeschlagenen Ladevorgänge einen eigenen Block, getrennt von den JavaScript-Fehlern. @@ -186,7 +188,7 @@ Der Pfad braucht [`collect_error_frames`](/de/tracker#collect-error-frames). Ad-geblockte Requests an bekannte Tracker-Hosts zählen als `blocked_count`, eine Teilmenge des fremden Buckets und keine Fehler. -Der Listen-Endpunkt ist [`POST /analytics/failed-resources`](/de/api/analytics/queryAnalyticsFailedResources). Der Fehlertypen-Endpoint weist `error_type: ["ResourceLoadError"]` mit einem 400 ab, der hierher verweist. +Der Listen-Endpunkt ist [`POST /analytics/failed-resources`](/de/api/error-tracking/queryAnalyticsFailedResources). Der Fehlertypen-Endpoint weist `error_type: ["ResourceLoadError"]` mit einem 400 ab, der hierher verweist. ## Besucher [#visitors] diff --git a/content/docs/analytics.mdx b/content/docs/analytics.mdx index 5d4ab69..b4d7d09 100644 --- a/content/docs/analytics.mdx +++ b/content/docs/analytics.mdx @@ -33,11 +33,11 @@ The Shopfloor, under Analytics at `/shopfloor`, draws your shop from above as it - **A click or tap on a zone** zooms into it: its page types, and its top 10 URLs of the last 30 minutes with Pageviews and LCP. - **For a wall screen**, `?window=60&sound=1&kiosk=1` sets the window, the ka-ching per order, and kiosk mode. Sound is off by default, and in kiosk mode the pointer and buttons hide after three seconds without a move. - **On a phone** held upright the Shopfloor shows its figures and asks to be turned. Turned sideways, the floor fills the whole screen. -- **On an iPhone**, add fastmon to the Home Screen for a full screen. It then opens as an app without the browser's bars, on the Shopfloor if added from there. +- **On an iPhone** held sideways, a swipe up folds Safari's bar and the floor fills the screen. - **Filters** are country, device, page type, and traffic. A filter from another page stays as a muted chip marked "not applied here". - **It needs [`store_stitch`](/en/tracker#store-stitch).** A site without it shows nobody and says so. -The API is [`POST /analytics/live`](/en/api/analytics/queryAnalyticsLive) and [`POST /analytics/live-summary`](/en/api/analytics/queryAnalyticsLiveSummary). +The API is [`POST /analytics/live`](/en/api/visitors/queryAnalyticsLive) and [`POST /analytics/live-summary`](/en/api/visitors/queryAnalyticsLiveSummary). ### Partnerfloor [#partnerfloor] @@ -53,7 +53,7 @@ The API is `POST /organizations/{org_id}/partner/live`, polled at `meta.next_pol ## Time range [#time-range] -The range pill in the header sets the window for every chart on the page. +The range pill in the header sets the window for every chart on the page. It stays when you switch organization, application, or site. - **Zoom**: minus doubles the window, plus halves it, also on the `-` and `+` keys. A live window keeps its end at now. - **Drag across a trend chart** to zoom into that stretch. The charts reload at the resolution it gets. @@ -78,11 +78,13 @@ The picker and the command palette offer each bucket width with the number of bu Buckets of 6 hours and longer start on your clock: 6-hour buckets at 00, 06, 12, and 18 local time, a day at midnight, a week on Monday. A day across a clock change is 23 or 25 hours long. -## Filtering +## Filtering [#filtering] A filter bar sits next to the time picker on every analytics page. Type a dimension and value, for example `country = DE`, and press Enter to add a filter chip. The value field suggests the real values of the time range with their pageviews. -The dimension picker lists Page, Country, and Device first, then browser, OS, connection, viewport, referrer, UTM fields, click-ID label, domain, navigation type, protocol, and the [checkout stage](/en/checkout-funnel). Empty values such as "Direct / none" cannot be filtered yet. +"Add filter" opens on a short list: the fields you used last, the common ones, those that fit the page, and every other field by group. The search finds values too, so typing "Chrome" adds that filter in one step. + +The five UTM fields are one entry, "Campaign (UTM)", with a switch for the field. Empty values such as "Direct / none" cannot be filtered yet. Filters live in the URL and carry across views and shared links. Chips combine with AND, and a comma inside one value means "any of". Click a chip to edit it, its X removes it, and the "Filter" button counts the active ones. @@ -90,7 +92,7 @@ Filters live in the URL and carry across views and shared links. Chips combine w **Every chip has an on/off switch.** A switched-off chip stays in place, struck through, and neither the query nor the count includes it. Clicking the same country on the map switches it back on, and a shared link keeps the state. -On a phone, a row of chips above the page replaces the filter pill and the side panel, and the time range opens as a bottom sheet. +On a phone, one bar shows the time range, "Filter" with its count, and the display settings. Below it, a chip for each filter or changed setting goes back to the default with its x. ### Sparse data and time of day [#sparse-data] @@ -149,7 +151,7 @@ Errors sits under Monitoring in the sidebar, with four pages: JavaScript errors, - A run of frames in the same vendor bundle folds into one row naming the library. When every frame is a library, the panel says so: the call that made the mistake was cut off at five frames. - A frame that only passes the error on is marked as a rethrow, and the cause sits further down. - A frame that cannot be read says why: no path was stored, the file sits on somebody else's host, the file is the fastmon tracker, or you deployed again under the same name and the position is gone. -- The endpoint is [`POST /analytics/error-types/symbolicate`](/en/api/analytics/queryAnalyticsErrorSymbolication). The same panel sits in the Explorer's row drawer: open a pageview, expand its errors, and the stack resolves there too. +- The endpoint is [`POST /analytics/error-types/symbolicate`](/en/api/error-tracking/queryAnalyticsErrorSymbolication). The same panel sits in the Explorer's row drawer: open a pageview, expand its errors, and the stack resolves there too. **"Where it happens" is the breakdown grid the metric pages carry**: page, page type, domain, country, device, browser, OS, connection, navigation, caches, bots, and network. @@ -157,7 +159,7 @@ Errors sits under Monitoring in the sidebar, with four pages: JavaScript errors, **"AI prompt" hands the whole case to an assistant**: what broke, the numbers, the resolved stack with the code at the throw site, where it happens, and sample occurrences. It also says what your site does not collect. -**Which API calls fail alongside it.** [`POST /analytics/error-types/correlated-requests`](/en/api/analytics/queryAnalyticsErrorCorrelatedRequests) ranks the fetch/XHR endpoints that fail in the same pageviews, each against its failure share in pageviews without that error. +**Which API calls fail alongside it.** [`POST /analytics/error-types/correlated-requests`](/en/api/error-tracking/queryAnalyticsErrorCorrelatedRequests) ranks the fetch/XHR endpoints that fail in the same pageviews, each against its failure share in pageviews without that error. **An error signature is a filter like any other.** Every error row links into the Explorer scoped to the pageviews that carried it, and "Error signature" is in the filter list. `filters.error_fingerprint_kind` says which list the key came from (`error` or `failed_resource`). @@ -178,7 +180,7 @@ Ownership is the registrable-domain rule above. **The list groups by host**, eac **Hiding a host** narrows the totals too: `host` and `exclude_hosts` do, `ownership` does not. -**Opening a resource drills into it** the way opening an error signature does: the file, a time series, breakdowns over page, browser, device, OS, and country, the visitors affected, and sample beacons. Pass the row's `fingerprint` to [`POST /analytics/failed-resources/detail`](/en/api/analytics/queryAnalyticsFailedResourceDetail). The error drill-down refuses a resource key. +**Opening a resource drills into it** the way opening an error signature does: the file, a time series, breakdowns over page, browser, device, OS, and country, the visitors affected, and sample beacons. Pass the row's `fingerprint` to [`POST /analytics/failed-resources/detail`](/en/api/error-tracking/queryAnalyticsFailedResourceDetail). The error drill-down refuses a resource key. `Failed resources` is a filter and a metric of its own, so `>= 1` scopes any view to pageviews where something did not load. In the pageview drill-down the failed loads have their own block, separate from the JavaScript errors. @@ -186,7 +188,7 @@ The path needs [`collect_error_frames`](/en/tracker#collect-error-frames). Ad-blocked requests to known tracker hosts count as `blocked_count`, a subset of the foreign bucket and not failures. -The list endpoint is [`POST /analytics/failed-resources`](/en/api/analytics/queryAnalyticsFailedResources). The error-types endpoint refuses `error_type: ["ResourceLoadError"]` with a 400 pointing here. +The list endpoint is [`POST /analytics/failed-resources`](/en/api/error-tracking/queryAnalyticsFailedResources). The error-types endpoint refuses `error_type: ["ResourceLoadError"]` with a 400 pointing here. ## Visitors [#visitors] diff --git a/content/docs/api/index.mdx b/content/docs/api/index.mdx index 07995fc..100127d 100644 --- a/content/docs/api/index.mdx +++ b/content/docs/api/index.mdx @@ -17,6 +17,7 @@ Every operation carries `x-stability-level` in the schema. - **Extensible enums**: a response enum under `x-extensible-enum` can gain values without notice. Treat an unknown value as an open string and never fail on it. - **Closed requests**: a request enum takes the closed copy `Request`, and a body refuses any field it does not declare with `422`. +- **Provisional fields**: a stable operation can mark one optional field `x-stability-level: alpha`, with a description starting "Provisional". It may change or go in any release, so your client has to work without it. - **Deprecated** operations and fields carry `deprecated: true` and keep answering until the changelog announces their removal. ## Cross-cutting topics @@ -31,7 +32,7 @@ Every operation carries `x-stability-level` in the schema. ## Endpoints -Pages are auto-generated per OpenAPI tag. Each operation has its own page with split-layout schema, language tabs (curl, JS, Python, Go, Java, C#), and a Try-it playground. +Pages are auto-generated per OpenAPI tag. The analytics readers sit in five groups: Analytics, Performance, Visitors, Sales, and Error tracking (tag `errors`). Each operation has its own page with split-layout schema, language tabs (curl, JS, Python, Go, Java, C#), and a Try-it playground. diff --git a/content/docs/api/meta.de.json b/content/docs/api/meta.de.json index 97ed6a7..fda1e86 100644 --- a/content/docs/api/meta.de.json +++ b/content/docs/api/meta.de.json @@ -18,6 +18,10 @@ "sites", "releases", "analytics", + "performance", + "visitors", + "sales", + "error-tracking", "synthetic", "notifications", "partners", diff --git a/content/docs/api/meta.json b/content/docs/api/meta.json index 3b7fe34..c750a43 100644 --- a/content/docs/api/meta.json +++ b/content/docs/api/meta.json @@ -18,6 +18,10 @@ "sites", "releases", "analytics", + "performance", + "visitors", + "sales", + "error-tracking", "synthetic", "notifications", "partners", diff --git a/content/docs/architecture.de.mdx b/content/docs/architecture.de.mdx index 4ec1682..64ff588 100644 --- a/content/docs/architecture.de.mdx +++ b/content/docs/architecture.de.mdx @@ -44,7 +44,7 @@ Drei Stellen in der Pipeline sind wichtig, wenn du das Verhalten verstehen wills | Komponente | Was sie tut | | ----------------- | ---------------------------------------------------------------------------- | -| Beacon-Script | Vanilla JS, ~10 KB komprimiert. Beobachtet Web Vitals, batcht, postet. | +| Beacon-Script | Vanilla JS, ~20 KB komprimiert. Beobachtet Web Vitals, batcht, postet. | | EU-Edge | Entfernt IP und User-Agent an der Netzwerkgrenze, leitet das Land aus der IP ab, berechnet den begrenzten `stitch`. Rohe IP und UA erreichen die Anwendung nie. | | Collector | Öffentlicher Ingest unter `/c/{collector_hash}`. Validation, Rate-Limit, serverseitige Sanitisierung. | | API | Authentifizierte REST direkt im Root (`/organizations/…`). Versorgt das Dashboard. | diff --git a/content/docs/architecture.mdx b/content/docs/architecture.mdx index b2c3b73..052788e 100644 --- a/content/docs/architecture.mdx +++ b/content/docs/architecture.mdx @@ -44,7 +44,7 @@ Three spots in the pipeline matter if you want to understand the behavior: | Component | What it does | | ----------------- | --------------------------------------------------------------------------- | -| Beacon script | Vanilla JS, ~10 KB compressed. Observes Web Vitals, batches, posts. | +| Beacon script | Vanilla JS, ~20 KB compressed. Observes Web Vitals, batches, posts. | | EU edge | Strips IP and User-Agent at the network boundary, derives country from the IP, computes the bounded `stitch`. Raw IP and UA never reach the application. | | Collector | Public ingest at `/c/{collector_hash}`. Validation, rate-limit, server-side sanitization. | | API | Authenticated REST at the root (`/organizations/…`). Powers the dashboard. | diff --git a/content/docs/changelog/index.de.mdx b/content/docs/changelog/index.de.mdx index 6e0161d..d406a99 100644 --- a/content/docs/changelog/index.de.mdx +++ b/content/docs/changelog/index.de.mdx @@ -17,6 +17,100 @@ Wir beschreiben die Änderungen, die du kennen solltest, nicht jede interne Anpa + + +Das Tracker-Script wird nur noch minifiziert, nicht mehr verschleiert. An deinem Snippet ändert sich nichts. + +- **Größe**: gzip-komprimiert rund 20 KB statt bis zu 60 KB, und der Main-Thread hat auf jeder Seite weniger zu tun. +- **Lesbar**: Ausgeliefert wird ganz normales minifiziertes JavaScript, das du in den DevTools prüfen kannst. +- **Updates kommen an**: Ein neues Tracker-Release erreicht jetzt auch Browser, die das Script schon im Cache haben. Der erste Seitenaufruf nach fünf Minuten lädt es nach, ab dem nächsten läuft es. + +Doku: [Beacon](/de/concepts/beacon). + + + + + +In einer Shopware-Storefront übernimmt ein GA4-Ecommerce-Event jetzt die Währung, die die Seite anzeigt. Schickt das Tag immer seine Kontowährung mit, landet eine Bestellung in CZK also nicht mehr unter `EUR`, und die gesendete Währung bleibt als `currency_sent` erhalten. Voraussetzung ist Shopware 6.7.7. + +Doku: [Custom Events → Aus dem dataLayer](/de/events#data-layer). + + + + + +`GET /releases/{release_id}/comparison` (alpha) stellt bis zu 7 Tage nach einem Release genauso vielen Tagen davor gegenüber. Verglichen werden Bestellrate, Web Vitals, Fehlerquote, Cache-Trefferquote und neue Fehler, jeweils mit der Schwelle, ab der es zählt. Das Ergebnis fasst ein `outcome` zusammen: `pending`, `sparse`, `better`, `worse`, `mixed` oder `flat`. + +Doku: [Releases → Releases vergleichen](/de/concepts/releases#comparing-releases). + + + + + +In der API-Referenz sind die Analytics-Operationen jetzt auf fünf Gruppen verteilt: Analytics, Performance, Visitors, Sales und Error tracking. Pfade, operationIds und Schemas bleiben gleich. + +- **Generierte Clients**: Benennt dein Generator Dateien oder Klassen nach dem Tag, landen die meisten Operationen in neuen. +- **Vorläufige Felder**: Eine stabile Operation kann einzelne optionale Felder mit `x-stability-level: alpha` markieren. So ein Feld kann sich mit jedem Release ändern oder wegfallen. +- **`visitors`** ist in jedem Schema ein Integer. + +Doku: [API-Referenz → Stabilität](/en/api#stability). + + + + + +Mit `billing: true` übernimmt ein Partner per `PATCH /organizations/{org_id}/partner/clients/{client_org_id}` die Rechnung eines Kunden, für den er bisher nicht zahlt. Der Kunde wechselt dann in den Plan `partner` mit der Abdeckung aus dem Vertrag, eine laufende Testphase endet. + +- **Abdeckung**: Ein Wert in `covered_features` oder `included_pageviews`, der eine Zahlung auslöst, hat dieselbe Wirkung. Bisher kam hier 409. +- **Abgelehnt** wird mit 409 `billing_client_pays_itself`, solange der Kunde ein laufendes Abo, einen offenen Checkout oder den Plan `enterprise` hat. +- **Beenden** einer Zahlung bleibt Sache des Supports und liefert 409 `billing_stop_requires_support`. + + + + + +Filter legst du jetzt mit weniger Klicks an, und auf dem Handy ist die Leiste deutlich aufgeräumter. + +- **„Filter hinzufügen“** zeigt erst einmal eine kurze Auswahl: deine zuletzt genutzten Felder, die gängigen und die, die zur aktuellen Seite passen. Den Rest findest du in Gruppen zum Aufklappen. +- **Die Suche kennt auch Werte.** Gibst du „Chrome“ oder ein Land ein, übernimmst du den Wert direkt, und der Filter ist gesetzt. +- **Die UTM-Felder** sind unter „Kampagne (UTM)“ zusammengefasst. Ob Quelle, Medium, Kampagne, Begriff oder Inhalt, wählst du dort per Umschalter. +- **Auf dem Handy** stehen Zeitraum, „Filter“ mit der Zahl aktiver Filter und die Darstellung in einer Leiste. Darunter siehst du nur das, was du geändert hast, als Chip, und das x setzt es zurück. +- **Perzentil und Traffic** findest du jetzt unter „Darstellung“. + +Doku: [Analytics → Filtern](/de/analytics#filtering). + + + + + +Im TTFB-Verlauf zeigt die Ansicht „Phasen“ wieder alle Phasen als Linien auf einer gemeinsamen Achse. Ein Klick auf die Legende blendet eine Phase aus, mit Cmd- oder Strg-Klick siehst du nur diese eine. Die bisherige Darstellung mit einer Zeile pro Phase heißt jetzt „Teile“. + +Doku: [TTFB → TTFB in fastmon](/de/web-vitals/ttfb#how-to-see-ttfb-in-fastmon). + + + + + +Server-Cache und Browser-Cache zeigen den Verlauf jetzt im selben Diagramm wie die anderen Seiten. Du kannst also per Ziehen zoomen, siehst Release-Marker und blendest Einträge über die Legende aus. Statt von „Kopie“ sprechen die Seiten von Cache-Treffer und Cache-Eintrag, und Schichten, die nie aus ihrem Cache ausliefern, tauchen gar nicht mehr auf. + + + + + +Wechselst du im Header oder mit Cmd+K die Organisation, Applikation oder Site, bleiben Zeitraum, Vergleich, Perzentil und Darstellung erhalten. Nur beim Wechsel in eine andere Organisation fallen die bisherigen Filter weg. + +Doku: [Analytics → Zeitraum](/de/analytics#time-range). + + + + + +Steht hinter dem CDN ein Origin ohne eigenen Cache, zeigte die Trefferquote fälschlich 100 %. Jetzt zählt ein CDN-`MISS` vor einem Origin-`BYPASS` wieder als Miss des CDN. Seitenaufrufe vom 15.11.2026 zwischen 20:49 UTC und dem Fix am selben Abend lassen sich nicht mehr korrigieren. + +Doku: [Server-Timing → Ein Server-Cache pro Seitenaufruf](/de/guides/server-timing#served-cache). + + + Die veröffentlichte API hat jetzt einen Stabilitätsvertrag. Jede Operation sagt in `x-stability-level`, was sie zusagt. diff --git a/content/docs/changelog/index.mdx b/content/docs/changelog/index.mdx index 03b0cab..8047436 100644 --- a/content/docs/changelog/index.mdx +++ b/content/docs/changelog/index.mdx @@ -12,6 +12,100 @@ We cover the changes you should know about, not every internal tweak. The except + + +The tracker script is minified but no longer obfuscated. Your snippet stays the same. + +- **Size**: about 20 KB gzipped instead of up to 60 KB, with less main-thread work on every page. +- **Readable**: the served script is ordinary minified JavaScript you can check in DevTools. +- **Updates arrive**: a new tracker release now reaches browsers that already cached the script. The first load after five minutes fetches it, and the next one runs it. + +Docs: [Beacon](/en/concepts/beacon). + + + + + +On a Shopware storefront, a GA4 ecommerce event takes the currency the page shows. An order paid in CZK no longer lands in `EUR` because the tag sends its account currency, and the sent one stays as `currency_sent`. Needs Shopware 6.7.7 or later. + +Docs: [Custom events → From the dataLayer](/en/events#data-layer). + + + + + +`GET /releases/{release_id}/comparison` (alpha) compares up to 7 days after a release with as many days before it. It covers order rate, Web Vitals, error rate, cache served rate, and new errors, each with the threshold that counts. One `outcome` sums it up: `pending`, `sparse`, `better`, `worse`, `mixed`, or `flat`. + +Docs: [Releases → Comparing releases](/en/concepts/releases#comparing-releases). + + + + + +The analytics operations sit in five groups of the API reference: Analytics, Performance, Visitors, Sales, and Error tracking. Paths, operationIds, and schemas stay as they are. + +- **Generated clients**: a generator that names files or classes after the tag puts most of them into new ones. +- **Provisional fields**: a stable operation can mark one optional field `x-stability-level: alpha`. Such a field may change or go in any release. +- **`visitors`** is an integer in every schema. + +Docs: [API Reference → Stability](/en/api#stability). + + + + + +`PATCH /organizations/{org_id}/partner/clients/{client_org_id}` takes `billing: true` for a client the partner does not pay for yet. The client moves to the `partner` plan with the contract's coverage, and a running trial ends. + +- **Coverage**: a `covered_features` or `included_pageviews` value that starts a payment does the same, where it answered 409 before. +- **Refused** with 409 `billing_client_pays_itself` while the client has a live subscription, an open checkout, or the `enterprise` plan. +- **Stopping** a payment stays a support case and answers 409 `billing_stop_requires_support`. + + + + + +The filter pop-up opens shorter, and the phone gets one calm bar. + +- **"Add filter"** opens on the fields you used last, the common ones, and those that fit the page. Every other field sits in a group you open. +- **The search finds values.** Typing "Chrome" or a country offers the value itself and adds the filter in one step. +- **UTM** is one entry, "Campaign (UTM)", with a switch for source, medium, campaign, term, or content. +- **On a phone** the bar shows the time range, "Filter" with its count, and the display settings. A chip below it lists each change, and its x resets it. +- **Percentile and traffic** are set in the display settings. + +Docs: [Analytics → Filtering](/en/analytics#filtering). + + + + + +The "Phases" view of the TTFB history draws one line per phase on a shared axis. A click on a legend entry hides its line, and Cmd or Ctrl click shows one phase alone. The view with one row per phase is now "Parts". + +Docs: [TTFB → How to see TTFB in fastmon](/en/web-vitals/ttfb#how-to-see-ttfb-in-fastmon). + + + + + +The history on the Server cache and Browser cache pages is the standard trend chart, with drag to zoom, release markers, and legend toggles. The pages say cache hit and cache entry in place of "copy". A layer that never serves from its cache is no longer listed. + + + + + +Picking another organization, application, or site in the header or in Cmd+K keeps the period, the comparison, the percentile, and the view settings. A switch to another organization drops the old one's filters. + +Docs: [Analytics → Time range](/en/analytics#time-range). + + + + + +The served rate no longer reads 100 % behind an origin that does not cache. A CDN miss in front of an origin `BYPASS` now counts as a CDN miss. Pageviews from 2026-11-15, 20:49 UTC, until the fix that evening keep their old values. + +Docs: [Server-Timing → One server cache per pageview](/en/guides/server-timing#served-cache). + + + The published API now has a stability contract. Every operation says in `x-stability-level` what it promises. diff --git a/content/docs/checkout-funnel.de.mdx b/content/docs/checkout-funnel.de.mdx index 87d1489..2b39a4d 100644 --- a/content/docs/checkout-funnel.de.mdx +++ b/content/docs/checkout-funnel.de.mdx @@ -153,10 +153,10 @@ Was das Shopify-Pixel trägt, steht unter [Shopify-Checkout-Events](#shopify), w ## API -- `POST /organizations/{org_id}/analytics/funnels/checkout`: die Schritte mit Besucherzahlen und `reach_rate`, dazu `conversion_rate` und `visitors_total` für den Zeitraum, die Warenkorb-Interaktionen nach Art, `time_to_success_seconds` und die Zeitreihe, gebucketet nach Funnel-Einstieg. Siehe die [Referenz](/en/api/analytics/queryAnalyticsCheckoutFunnel) (nur auf Englisch). -- `POST /organizations/{org_id}/analytics/funnels/checkout/cohorts`: Besucher mit beobachtetem Abschluss gegen die, die den Checkout ohne Abschluss erreicht haben. Pro Gruppe die Web Vitals über die ganze Journey und pro Stufe, dazu Anzahl, Dauer und Fehler der Warenkorb-Calls. Siehe die [Referenz](/en/api/analytics/queryAnalyticsCheckoutCohorts). +- `POST /organizations/{org_id}/analytics/funnels/checkout`: die Schritte mit Besucherzahlen und `reach_rate`, dazu `conversion_rate` und `visitors_total` für den Zeitraum, die Warenkorb-Interaktionen nach Art, `time_to_success_seconds` und die Zeitreihe, gebucketet nach Funnel-Einstieg. Siehe die [Referenz](/en/api/sales/queryAnalyticsCheckoutFunnel) (nur auf Englisch). +- `POST /organizations/{org_id}/analytics/funnels/checkout/cohorts`: Besucher mit beobachtetem Abschluss gegen die, die den Checkout ohne Abschluss erreicht haben. Pro Gruppe die Web Vitals über die ganze Journey und pro Stufe, dazu Anzahl, Dauer und Fehler der Warenkorb-Calls. Siehe die [Referenz](/en/api/sales/queryAnalyticsCheckoutCohorts). - `POST /organizations/{org_id}/analytics/funnels/checkout/stages`: die Besucher, die jede Stufe erreicht haben, pro Stunde oder Tag, Checkout-Events eingeschlossen, für das Stufen-Chart. `compare_to` ergänzt einen zweiten Zeitraum, in denselben Formen wie bei `/analytics/query`. Reicht der Vergleich vor die Installation eines Shopify-Pixels zurück, zeigt er die Installation als Anstieg. -- `POST /organizations/{org_id}/analytics/funnels/checkout/journeys`: die Pageviews rund um den Treffer eines Besuchers auf einem Schritt, mit seinen Checkout-`events` neben `pages`. Mit `full_journey: false` enthält `pages` die Seiten, von denen die Stage-Events kamen. Siehe die [Referenz](/en/api/analytics/queryAnalyticsCheckoutJourneys). +- `POST /organizations/{org_id}/analytics/funnels/checkout/journeys`: die Pageviews rund um den Treffer eines Besuchers auf einem Schritt, mit seinen Checkout-`events` neben `pages`. Mit `full_journey: false` enthält `pages` die Seiten, von denen die Stage-Events kamen. Siehe die [Referenz](/en/api/sales/queryAnalyticsCheckoutJourneys). - `POST /organizations/{org_id}/analytics/visitors` nimmt `contains_checkout_stage` und `contains_cart_interaction` als Filter, und die Stufe kommt aus Events. Unter der Identität `session` antwortet er auf `contains_checkout_stage` mit `422` und lässt `outcome`, `ordered_visitors` und `checkout_visitors` weg. Das Besucher-Detail antwortet mit `events` neben `pages`. - `POST /organizations/{org_id}/analytics/events` listet die Checkout-Events neben deinen eigenen, neueste zuerst. So kannst du eine Testbestellung gegen die Shopify-Bestellliste halten. Siehe [Eigene Events](/de/events#api). - `checkout_stage` ist auf jedem Analytics-Endpunkt mit `filters` eine Filter- und Ausschlussdimension (`exclude: {checkout_stage: ['']}` behält nur Funnel-Pageviews) und in `POST /analytics/query` eine Gruppierungsdimension. `cart_interactions` und `cart_interaction_errors` sind dort Metriken (und damit in Benachrichtigungsregeln nutzbar) sowie Metrikbereiche. `POST /analytics/beacons` projiziert `checkout_stage`, die beiden Zähler und die Map `cart_interaction_kinds` auf jede Zeile. diff --git a/content/docs/checkout-funnel.mdx b/content/docs/checkout-funnel.mdx index bef85fd..29e5829 100644 --- a/content/docs/checkout-funnel.mdx +++ b/content/docs/checkout-funnel.mdx @@ -153,10 +153,10 @@ What the Shopify pixel carries is listed under [Shopify checkout events](#shopif ## API -- `POST /organizations/{org_id}/analytics/funnels/checkout`: the steps with visitor counts and `reach_rate`, the window `conversion_rate` and `visitors_total`, the cart interaction counts by kind, `time_to_success_seconds`, and the series bucketed by funnel entry. See the [reference](/en/api/analytics/queryAnalyticsCheckoutFunnel). -- `POST /organizations/{org_id}/analytics/funnels/checkout/cohorts`: visitors with an observed success against those who reached the checkout without one. Per group, the Web Vitals over the whole journey and per stage, plus how many cart calls went out, how slow they were and how many failed. See the [reference](/en/api/analytics/queryAnalyticsCheckoutCohorts). +- `POST /organizations/{org_id}/analytics/funnels/checkout`: the steps with visitor counts and `reach_rate`, the window `conversion_rate` and `visitors_total`, the cart interaction counts by kind, `time_to_success_seconds`, and the series bucketed by funnel entry. See the [reference](/en/api/sales/queryAnalyticsCheckoutFunnel). +- `POST /organizations/{org_id}/analytics/funnels/checkout/cohorts`: visitors with an observed success against those who reached the checkout without one. Per group, the Web Vitals over the whole journey and per stage, plus how many cart calls went out, how slow they were and how many failed. See the [reference](/en/api/sales/queryAnalyticsCheckoutCohorts). - `POST /organizations/{org_id}/analytics/funnels/checkout/stages`: the visitors who reached each stage per hour or day, checkout events included, for the stage chart. `compare_to` adds a second window, in the same forms as on `/analytics/query`. A comparison reaching back before a Shopify pixel was installed shows the installation as a rise. -- `POST /organizations/{org_id}/analytics/funnels/checkout/journeys`: the pageviews around a visitor's hit on a given step, with the visitor's checkout `events` beside `pages`. With `full_journey: false`, `pages` holds the pages the stage events were sent from. See the [reference](/en/api/analytics/queryAnalyticsCheckoutJourneys). +- `POST /organizations/{org_id}/analytics/funnels/checkout/journeys`: the pageviews around a visitor's hit on a given step, with the visitor's checkout `events` beside `pages`. With `full_journey: false`, `pages` holds the pages the stage events were sent from. See the [reference](/en/api/sales/queryAnalyticsCheckoutJourneys). - `POST /organizations/{org_id}/analytics/visitors` accepts `contains_checkout_stage` and `contains_cart_interaction` as filters, and the stage comes from events. Under the identity `session` it answers `422` for `contains_checkout_stage` and leaves out `outcome`, `ordered_visitors`, and `checkout_visitors`. The visitor detail answers `events` beside `pages`. - `POST /organizations/{org_id}/analytics/events` lists the checkout events beside your own, newest first, so a test order can be held against the Shopify order list. See [Custom events](/en/events#api). - `checkout_stage` is a filter and exclude dimension on every analytics endpoint that takes `filters` (`exclude: {checkout_stage: ['']}` keeps only funnel pageviews), and a group-by dimension in `POST /analytics/query`. `cart_interactions` and `cart_interaction_errors` are metrics there (and therefore usable in notification rules) and metric ranges. `POST /analytics/beacons` projects `checkout_stage`, the two counters, and the `cart_interaction_kinds` map onto each row. diff --git a/content/docs/concepts/beacon.de.mdx b/content/docs/concepts/beacon.de.mdx index c1ea6ac..5f2e836 100644 --- a/content/docs/concepts/beacon.de.mdx +++ b/content/docs/concepts/beacon.de.mdx @@ -24,7 +24,7 @@ Du wählst den Build nicht im `