Tracking pixel, explained
When a visitor loads a page, the pixel reports an event to the ad platform. That lets the platform credit conversions to ads, build retargeting audiences and learn which people are likely to convert.
Browser privacy features and ad blockers mean pixels miss some events, so platforms also offer server-side tracking (conversions APIs) that sends events from your server. Many advertisers use both.
Respect privacy law: ask for consent where it's required, describe the tracking in your privacy policy, and only send the data you need.