Event Tracking
Meta Pixel Integration
Meta Pixel Integration
Integrate Meta (Facebook) Pixel with consent management. The pixel only fires after marketing consent is granted.
Setup
javascript
Conseto.init({
clientId: 'YOUR_CLIENT_ID',
metaPixel: '123456789012345' // Your Meta Pixel ID
});Conseto automatically handles the pixel lifecycle:
Pixel code injected only when marketing consent is granted
PageView event sent automatically on consent
E-commerce events (Purchase, AddToCart) forwarded to Meta
Pixel removed and cookies cleared on consent withdrawal