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 -->
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
<!-- 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>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-K5BBHMZ0P4');

Link to comment
  • Replies 3
  • 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.