Meta pixel extension loads JavaScript before consent in AEP
The meta pixel extension in Adobe Experience Platform (AEP) loads the fbevents.js script before consent is provided. Although the script initializes immediately, it queues all events and processes them only after consent is granted. This behavior ensures that initialization occurs without transmitting data before consent.
Description description
Environment
Adobe Experience Platform (AEP)
Issue/Symptoms
- The
fbevents.jsscript for the meta pixel extension loads before consent is obtained. - Events queue automatically and process only after consent is granted.
- No data is transmitted before receiving consent, ensuring event handling remains gated.
Resolution resolution
Follow these steps to understand and address the issue:
- Go to Tags
>Extensions>Select Meta Pixel. Confirm that the Meta Pixel extension loadsfbevents.jsby default. Check the extension details to verify that fbevents.js is part of the default load behavior. - Navigate to Tags
>Rules. Review the rule conditions for consent and confirm that event actions are gated by the consent management settings. Note thatfbevents.jsloads immediately, but no events are sent until the user provides consent. - Verify with your legal or compliance team that this behavior meets your organization’s data‑privacy and consent‑management requirements.
- Test your implementation to ensure no events are transmitted before consent is granted.
- After consent is provided, verify that queued events are processed correctly.
Note: The fbevents.js can’t be blocked from loading before consent. Only event transmission is controlled by the consent state.
Related reading
- Meta Conversions API extension overview in AEP
- Consent processing in Adobe Experience Platform overview
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f