I want to insert an HTML tag script from Facebook Pixel for my website. But I can’t do so with Website HTML header options, or Website Script Section because the HTML field rejects Javascript and vice-versa with the Javascript field.
Any leads will be highly appreciated.
Actually if we can provide integration for Google Tag Manager we could manage all our scripts from there. This has an added advantage over the current Google Analytics integration:
<!-- 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-TTDGRHK');</script>
<!-- End Google Tag Manager -->
Google Tag Manager overview
Google Tag Manager is a tag management system that allows you to quickly and easily update tags and code snippets on your website or mobile app. Once the Tag Manager snippet has been added to your website or mobile app, you can configure tags via a web-based user interface without having to alter and deploy additional code. This reduces errors and frees you from having to involve a developer whenever you need to make changes.