• Resolved gavin310

    (@gavin310)


    We have our own SEO team and development team, but we like the MonsterInsights admin dashboard and features. We would like to insert the GTM code and structured data into the template ourselves. Can we stop MonterInsights from outputting the code into the front-end? Is there a hook that is used for this?

Viewing 1 replies (of 1 total)
  • Thread Starter gavin310

    (@gavin310)

    Of course I figured it out not long after asking. Simply adding this will remove all front-end output:

    remove_action( 'wp_head', 'monsterinsights_tracking_script', 6 );

Viewing 1 replies (of 1 total)
  • The topic ‘How can we prevent outputting any tracking code on the front-end?’ is closed to new replies.