The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

Google Tag Manager

  • specialized
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 7 mois #4179 par specialized
Google Tag Manager a été créé par specialized
Dear xerte community

Is it possible to add a script to the Xerte installation in order to capture usage with the Google Tag Manager code?

<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-HWKL2" height="0" width="0" style="display:none;visibility:hidden">
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-HWKL2');</script>
<!-- End Google Tag Manager -->

Any advice is welcome
Peter Leffek

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 mois 1 semaine #9566 par Sonita128
Réponse de Sonita128 sur le sujet Google Tag Manager
Yes, you can add GTM to Xerte, but if you’re thinking long-term, it might also make sense to look into server-side GTM hosting. It can help with tracking accuracy and performance. Here’s a link where you can check Stape

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: JohnSmith
Temps de génération de la page : 0.139 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo