✦
Pixel Practice LabLittle Sprout learning environment
Open raw code editor ↗

Learn by testing

See what every Pixel event sends.

Enter a Pixel ID, accept practice consent, and trigger events with safe sample data. Nothing here collects passwords, card numbers, or customer data.

1. Configure practice Pixel

No Pixel ID configured.

Events are sent only after consent is checked. Browser events appear in Meta Events Manager under Test Events when the Pixel is configured there.

2. Trigger a standard event

Each button uses a fixed demo payload. Purchase creates a demo order ID only.

Event console

Waiting for a practice event…

What to study

Configuration

const PIXEL_ID = localStorage.getItem('pixel-id');loadPixel(PIXEL_ID);

Event hook

track('AddToCart', {
content_ids: ['spr-001'],
value: 24,
currency: 'USD'
});