広告主様向け Google タグ ゲートウェイ: Google スクリプトをファーストパーティとして読み込む
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このドキュメントは、サーバーサイド タグ設定を導入済みで、ファーストパーティのコンテキストで Google のスクリプトを配信したいと考えているデベロッパー向けの内容です。
広告主様向け Google タグ ゲートウェイを使用すると、gtm.js などの Google スクリプトを Google のサーバーではなく、ファーストパーティ インフラストラクチャから直接読み込むことができます。これにより、タグ設定サーバーまたは CDN を介して、ファーストパーティのコンテキストを離れることなくデータを提供できます。
[null,null,["最終更新日 2025-10-14 UTC。"],[],["Developers using server-side tagging can load Google scripts (gtm.js, gtag.js) from their own server for a first-party context. This requires setting up a server container, a tagging server, and a custom server domain. Steps involve configuring the client to load scripts through the server and updating the script source URL on the website to point to the custom server. Verification includes checking the browser's developer tools to confirm that `gtm.js` loads from the custom server, not Google's.\n"]]