Konfigurowanie bramy tagów Google dla reklamodawców
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ten dokument jest przeznaczony dla użytkowników, którzy chcą wdrożyć bramę tagu Google dla reklamodawców. Aby uzyskać najbardziej trwałą konfigurację tagów, zalecamy korzystanie z bramy tagów Google dla reklamodawców.
Przegląd
Brama tagu Google dla reklamodawców umożliwia wdrażanie tagu Google za pomocą własnej infrastruktury, która jest hostowana w domenie Twojej witryny. Ta infrastruktura znajduje się między Twoją witryną a usługami Google. Konfiguracja opisana w tej dokumentacji
pomoże Ci dokładniej mierzyć skuteczność witryny. Możesz go skonfigurować za pomocą istniejącej sieci dostarczania treści (CDN), systemu równoważenia obciążenia lub serwera WWW.
W standardowych konfiguracjach tagu Google strona internetowa wywołuje tag Google z domeny Google. Gdy tag zostanie uruchomiony, wysyła żądania pomiarowe bezpośrednio do usługi Google. Dzięki bramie tagu Google dla reklamodawców witryna wczytuje tag Google z domeny własnej. Gdy tag zostanie uruchomiony, niektóre żądania pomiarowe będą wysyłane do Google z użyciem Twojej domeny własnej.
Ten diagram przedstawia przepływ informacji w bramie tagów Google dla reklamodawców:
Zanim zaczniesz
W tym przewodniku zakładamy, że Twoja witryna ma już skonfigurowane:
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-09-03 UTC."],[],[],null,["\u003e This document is for users who want to deploy the Google tag gateway for\n\u003e advertisers. We recommend Google tag gateway for advertisers for the most\n\u003e durable tag configuration.\n\nOverview\n\nGoogle tag gateway for advertisers lets you deploy a Google tag using your own\nfirst-party infrastructure, hosted on your website's domain. This infrastructure\nsits between your website and Google's services. The setup in this documentation\nwill help you better measure your website. You can set it up using your existing\ncontent delivery network (CDN), load balancer, or web server.\n\nIn standard Google tag setups, your web page requests a Google tag from a Google\ndomain. When the tag fires, it sends measurement requests directly to the Google\nproduct. With Google tag gateway for advertisers, your website loads the Google\ntag from your first-party domain. When the tag fires, some measurement requests\nwill be sent to Google using your first-party domain.\n\nThis diagram represents the information flow in Google tag gateway for\nadvertisers:\n\nBefore you begin\n\nThis guide assumes that your website is already configured with:\n\n- A [Google tag](https://developers.google.com/tag-platform/gtagjs) or [Tag\n Manager container](https://support.google.com/tagmanager/answer/6102821).\n- A content delivery network (CDN) or load balancer that can forward requests to external endpoints.\n\nTo get started, pick your setup type.\n\nManual setup Automated setup with Cloudflare\n\nPick pick a setup type to see instructions.\n\nTest the measurement setup\n\nTo test the measurement setup, configure your container to have at least one\ntag that fires.\n\n1. [Go to Tag Assistant](https://tagassistant.google.com) and preview your container.\n2. Navigate through your website to trigger events.\n3. In the **Summary** \\\u003e **Output** \\\u003e **Hits Sent** tab, verify that the hits\n are routed to `/`\u003cvar scope=\"metrics\" translate=\"no\"\u003emetrics\u003c/var\u003e."]]