Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

The Meta Consent API integration tells the Meta Pixel — used by Facebook and Instagram ads — whether the visitor has consented to advertising tracking. When the integration is enabled, CookieChimp calls fbq('consent', 'grant') or fbq('consent', 'revoke') automatically as the user’s preferences change.

Prerequisites

  • A Meta Pixel installed on your site.
  • A category or service in CookieChimp that represents Meta advertising consent (most accounts map this to the marketing category or a Facebook Pixel vendor).

How do I enable it?

1

Open the Integrations page

Go to Integrations in your CookieChimp dashboard and find the Meta Consent API card.
2

Toggle it on

CookieChimp will push consent state to the Meta Pixel on page load and whenever the visitor updates their choices.

How do I verify it’s working?

  1. Install Meta’s Pixel Helper browser extension.
  2. Open your site and decline marketing consent. Pixel Helper should show the pixel in a consent revoked state and no events should fire.
  3. Accept marketing consent and reload. The pixel should now report as active and events should fire normally.
  • Enable Debug mode from the CookieChimp dashboard and check the browser JS console for errors.
If you encounter any issues or need further assistance, please reach out to us via our chat.