New consent Management System Integrates Facebook Functionality
A recently implemented consent management system, KRNDidomi, is now facilitating the integration of Facebook’s core functionalities and tracking pixels.This growth allows for the initialization of Facebook’s JavaScript SDK and the activation of the Facebook Pixel, contingent upon user consent for respective categories.
The KRNDidomi system’s design ensures that Facebook’s SDK, identified by the application ID ‘159406224130883’, is initialized only after explicit user consent for Facebook-related data processing. This initialization includes enabling cookies, activating the social plugin functionality (xfbml), and setting the API version to ‘v3.1’. Following the SDK’s initialization, a custom event, ‘krn-fb-init’, is triggered after a brief delay of 100 milliseconds. This delay is intended to ensure the event fires after other document-ready processes have concluded,providing a stable point for subsequent Facebook-related actions.
Concurrently, the system also manages consent for the ‘facebook-pixel’ category. Upon receiving consent for this category, the Facebook Pixel code is dynamically loaded. This includes the standard asynchronous loading pattern for the fbevents.js script from Facebook’s servers.Once loaded,the pixel is initialized with the ID ‘659119719764209’,and a ‘PageView’ event is tracked,signaling the presence of a user on the page to Facebook’s analytics platform.