How Do I Add a Google Tag Manager Tracking Pixel to My Website Using SoCast Engage?
- Log in to SoCast Engage.
- Navigate to Website > Website Settings
- Go to the "General" tab
Paste the header Google Tag code in the "Customer Header HTML/Script" field. It should look like this:
<!-- 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-XXXXXXX');</script>
<!-- End Google Tag Manager -->
(Replace GTM-XXXXXXX
with your actual Google Tag Manager ID.)
Paste the body Google Tag code in the "Custom Body HTML/Script". It should look like this:
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXXX" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
(Again, replace GTM-XXXXXXX
with your actual Google Tag Manager ID.)
- Save your changes.