Steps to deactivate Facebook Consent Mode:
To deactivate the Facebook Consent Mode completely, follow these simple steps:
- Login to your seers account and select "Cookie Consent"
- Select the domain, go to “Preferences” tab and enable Facebook Consent Mode
- Remember to disable the toggle to deactivate Facebook Consent Mode in the “Settings” panel of the Seers CMP.
Step 1
Remove the Facebook Consent Mode code (in bold) you inserted in your Facebook Pixel Code.
<!-- Meta 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('consent','revoke');
fbq('init', 'xxxxxxxxxxxxx');
fbq('track', 'PageView');
</script>
Step 2
After removing the code (in bold), your Facebook Pixel code will look like this:
<!-- Meta 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', 'xxxxxxxxxxxxx');