Jump to content

Need to remove Facebook Pixel code from Custom CSS

Go to solution Solved by LacunaHR,

Recommended Posts

Site URL: https://www.lacunahr.com.au

Hi - I am trying to add my Facebook Pixel Id through the Marketing function but I get an error message saying there is custom code injected that needs to be removed. Looking at the header custom code I don't see anything related to facebook pixel. Could someone point out what I need to remove?

 

Header Custom Code Below

<!-- Google Tag Manager -->
<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-N5Q2BNH');</script>
<!-- End Google Tag Manager -->
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K5BBHMZ0P4"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-K5BBHMZ0P4');
</script>

Link to comment
  • Replies 3
  • Views 389
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
  • 3 weeks later...

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.