Das Projekt Accelerated Mobile Pages (AMP) ist ein Open-Source-Webprojekt
zur Verbesserung der Leistung Ihrer Webinhalte. AMP umfasst
integrierte Unterstützung für das Google-Tag und Google Tag Manager. In diesem Leitfaden wird Folgendes beschrieben:
Google Analytics für AMP-Seiten einrichten.
Installation
Mit dem Google-Tag können Sie Google Analytics, Google Ads und andere
Google-Produkten auf AMP-Seiten. In Google Tag Manager wird ein AMP-Container eingerichtet und
können Sie erweiterte Konfigurationen
erstellen und Drittanbieter-Tools
über die Tag Manager-Oberfläche.
Wählen Sie aus den folgenden Schaltflächen die gewünschte Plattform aus:
Fehlerbehebung
Validieren Sie Ihre Tagging-Einrichtung mit amptagtest.appspot.com oder manuell
sorgen Sie dafür, dass der cid-Wert in allen Domains gleich ist. Führen Sie dazu
Folgendes:
Vergessen Sie nicht, Cookies zu löschen oder den Inkognitomodus zu verwenden.
Wenn cid nicht in einem Google Analytics-Cookie gefunden wird, kann es auch
die Sie auf dem Tab "Network" (Network) Ihres Webbrowsers sehen. Nach collect request suchen,
und die Nutzlast sollte einen cid-Wert enthalten.
Nach der Übergabe vom Google-CDN an die Website des Kunden wird der
Die Werte cid und gclid sollten über die URL-Dekoration übergeben werden:
[null,null,["Zuletzt aktualisiert: 2024-09-10 (UTC)."],[[["The Accelerated Mobile Pages (AMP) project is an open-source platform designed to enhance web content performance and includes built-in support for Google Analytics integration."],["This guide provides instructions on implementing Google Analytics on AMP pages through either the Google tag for standard setup or Google Tag Manager for advanced configurations and third-party tags."],["Google Tag Manager for AMP is not compatible with Google Analytics 4, necessitating manual snippet addition for GA4 integration with AMP."],["Troubleshooting tagging issues can be done using the provided validation tool or by manually verifying consistent `cid` values across domains, ensuring proper linker functionality and redirect handling."]]],["The core content outlines setting up Google Analytics on Accelerated Mobile Pages (AMP). It details using the Google tag for Analytics and other Google products, or Google Tag Manager for advanced configurations and third-party tags, noting Tag Manager's incompatibility with Google Analytics 4. Troubleshooting involves using amptagtest.appspot.com or manually checking for consistent `cid` values across domains, ensuring `cid` and `gclid` are passed via URL decoration and are the same as initial values, while being cautious with redirects.\n"]]