LacunaHR Posted October 13, 2022 Share Posted October 13, 2022 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
tuanphan Posted October 16, 2022 Share Posted October 16, 2022 Can you take a screenshot of error message? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
RVP Posted November 16, 2022 Share Posted November 16, 2022 I have the same problem - did you get this sorted? Link to comment
Solution LacunaHR Posted December 1, 2022 Author Solution Share Posted December 1, 2022 RVP - I removed the google tag code, updated the FB pixel in the Sqaurespace settings then put the google tag code back in and it worked :) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment