Meta Pixel
Track conversions and build audiences for Facebook and Instagram advertising campaigns.
Meta Pixel (formerly Facebook Pixel) is Meta's conversion tracking and audience targeting tool for Facebook and Instagram advertising. It tracks user actions, measures ad effectiveness, builds custom audiences, and optimizes ad delivery. By default, c15t loads this script based on marketing consent.
This script persists after consent is revoked because it has built-in consent management. When consent changes, c15t updates Meta's internal consent state rather than removing the script entirely.
Adding the Meta Pixel to c15t
metaPixelEvent
You can use the metaPixelEvent function to track events. This is a wrapper around the fbq function that the Meta Pixel script uses.
To learn more about Meta Pixel's standard events, see the Meta Pixel documentation.