Jump to content

Cookie bot and Hubspot tracking incorporation

Recommended Posts

Hello guys,

as the title mentions I am looking to make sure whether the cookie bot and Hubspot tracker are correctly injected into my site (because the cookie consent bar is not showing).

Please see the attached code:

HEADER:

<script type="text/javascript" id="hs-script-loader" async defer src="//js-eu1.hs-scripts.com/25739655.js"></script>

<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= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-MZXS6S9'); </script>

FOOTER:

<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MZXS6S9"

height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

I´ll be happy for any feedback. 🙂

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.