Complianz & Google Tag Manager etc.
-
Hi
I am doing an audit for a client that uses WordPress, Complianz plugin and Google Tag Manager.
I have a question that I hope you can help with.
Google Tag Manager
Google Tag Manager is enabled in the Complianz plugin under Statistics – configuration section as shown here:https://complianz.io/definitive-guide-to-tag-manager-and-complianz/ under 2. Enabling Tag Manager in Complianz
When I look in the source code I see the following script in line 1261:
<script type='text/javascript' src='https://nextmonday.dk/wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js?ver=4.8.2' id='cmplz-cookie-config-js'></script> <script type='text/javascript' src='https://nextmonday.dk/wp-includes/js/wp-embed.min.js?ver=5.5.6' id='wp-embed-js'></script> <script type="text/javascript" class="cmplz-stats">(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= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-NNFHC7Q');</script><strong></body></strong>
Shouldn’t the GTM script be implemented as as far up in the head tag as possible?
Does the plugin always place the GTM script in the body section?
Thanks in advance
Kristian
The page I need help with: [log in to see the link]
- The topic ‘Complianz & Google Tag Manager etc.’ is closed to new replies.