שער Google Tag למפרסמים: טעינת סקריפטים של Google כנתונים מהדומיין הנוכחי
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
המסמך הזה מיועד למפתחים שמשתמשים בתיוג בצד השרת ורוצים להציג סקריפטים של Google בהקשר של אינטראקציה ישירה.
שער Google Tag למפרסמים מאפשר לכם לטעון סקריפטים של Google, כמו gtm.js, ישירות מהתשתית שלכם (הדומיין הנוכחי) במקום מהשרתים של Google.
כך תוכלו להציג נתונים בהקשר של אינטראקציה ישירה, דרך שרת התיוג או דרך CDN.
לפני שמתחילים
במדריך הזה אנחנו יוצאים מנקודת הנחה שביצעתם את הפעולות הבאות:
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-29 (שעון 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"]]