How to implement the Facebook consent mode with Seers?

The Facebook Pixel includes a built-in feature that allows visitors to enter consent mode based on their choice. Seers has full integration of Facebook Pixel consent, allowing you to choose which categories should be enabled for Facebook Pixel. 

Steps to implement Facebook Consent Mode: 

If you want to use Facebook consent mode, you'll need to edit your Facebook code. It’s however easy to implement Seers' Facebook Consent Mode with a few changes to the Facebook Pixel code. 

Step 1: 

Find the Facebook pixel code in the header on the website or get it from your Facebook account:

<!-- 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');
fbq('track', 'PageView');
</script>

Step 2: 

In your Facebook Pixel code, insert the code (below in bold) before init call.

fbq('consent','revoke');

Step 3: 

So the resulting code should 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('consent','revoke');
fbq('init', 'xxxxxxxxxxxxx');
fbq('track', 'PageView');
</script> 

Your Facebook Consent mode will be activated. 

Note: 

To enable the Facebook Consent Mode, you must have Seers’ CMP code installed on your website. Which will look like the code below: 

<script data-key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" data-name="CookieXray" src="https://seersco.com/script/cb.js" type="text/javascript"></script>

  1. Remember to enable the toggle to "OK" activate this feature in the “settings” panel of the Seers CMP. 
  2. Facebook Consent Mode is an optional feature and should be enabled in settings too. Go to your Dashboard > Preferences Tab Enable Facebook Consent Mode
  3. Also, you must update the Facebook Pixel code, as described in Step 2.