How To Disable Microdata Auto Event on Facebook Pixel

How you can disable the Microdata Automatically Detected on Facebook.

Overview

Microdata refers to small snippets of information embedded within the code of a web page, providing structured data about its content. These data tags offer context to search engines and other web services, aiding in the understanding of the page's content and its relevance to user queries.

Microdata typically includes specific details such as product names, prices, descriptions, and other metadata, enabling search engines to present more informative and visually appealing search results known as rich snippets.

By incorporating microdata into a website's code, developers can enhance its visibility and accessibility, improving the overall user experience and facilitating efficient data exchange between different online platforms.

This guide will walk you through how to disable microdata automatically detected on Facebook.


Step 1: Turn off the "Event setup tool" in Facebook Events Manager

  • Begin in Facebook Events Manager.
  • Access your settings by clicking on the "Settings" tab.
    • Navigate to the "Event Setup" section of the settings and locate the section labeled "Track events automatically without code".
    • Ensure that the toggle for this section is switched to the "Off" position.
      • (See Figure 1)

_Figure 1_

Step 2: Update Facebook Sitewide & Purchase Tags

  • Next log into your Google Tag Manager Account and use the left-hand menu to locate and click the "Tags" tab.

Facebook Sitewide Tag:

  • First access the "Facebook Sitewide" tag and add the following code.
    • See Figure 2 for an example of what this will look like.
fbq('set', 'autoConfig', 'false', 'YOUR FB PIXEL ID or Variable in GTM');

Figure 2

Facebook Purchase Tag

  • Then access the "Facebook Purchase" tag and add the following code.
    • See Figure 3 for an example of what this will look like.

Figure 3