My client used the Insert Headers and Footers plugin to add code for Google Tag Manager. For some reason when you view the website on a mobile device, the code appears at the very top. View the website at https://thefcatest.com.
They do not need this code and they did not use the plugin to do anything else so I had her deactivate the plugin, and then delete it hoping that it would remove whatever code it had inserted, but nothing has happened.
BTW, I have the website running via Cloudflare, and have purged the cache.
They plan to start promoting the website in 4 days, and we are hoping that we can get rid of this by then.
Thanks in advance,
Tom Rogers
PS. They have a marketing company who has requested they insert a pixel code in the head section. I’ve pasted it below. Given the issues mentioned above, I’m concerned about adding this with the Insert Headers and Footers plugin.
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '326798941162806');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=326798941162806&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->