Gateway del tag Google per gli inserzionisti: carica gli script Google proprietari
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questo documento è rivolto agli sviluppatori che utilizzano il tagging lato server e vogliono pubblicare
gli script Google in un contesto proprietario.
Il gateway del tag Google per gli inserzionisti ti consente di caricare gli script Google, ad esempio gtm.js,
direttamente dalla tua infrastruttura proprietaria anziché dai server di Google.
In questo modo, puoi pubblicare i dati in un contesto proprietario tramite il server di tagging o una CDN.
Prima di iniziare
Questa guida presuppone che tu abbia eseguito quanto segue:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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"]]