Meta pixel conflict with header menu

I have had a couple of occasions where the meta pixel code inserted into “Insert headers & footers” plugin has caused the header menu in Pro to completely dissapear both on mobile and desktop and only reappear once the code has been removed. Has anything like this been reported before?

Hi @leestuar1,

Thank you for reaching out to us. I have not seen this issue before, instead of adding your code via third party plugin, try adding in your child theme’s functions.php file:

add_action('wp_head','my_tracking_pixel');

function my_tracking_pixel() { 
?>
// Your code here

<?php 
}

In the above snippet simply place your code after the comment Your code here. Let us know how this goes!

Thanks I will give that a try

You are most welcome @leestuar1

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.