像素
/
2 min read
Send conversions to Meta, Google, TikTok & more
Once the Zalify Pixel is live, it mirrors your commerce events to every ad platform you've connected — no per-event code.
You don't fire a separate event for each ad platform. Once the Zalify Pixel is installed and you've added your ad-platform IDs in Zalify, it automatically mirrors your standard commerce events to every platform you've connected. Forwarding is configuration-driven — there's nothing to code.
Supported platforms
The Pixel forwards to:
Meta, Google Ads, GA4, TikTok, Pinterest, Snapchat, Bing (Microsoft UET), X (Twitter), Reddit, and LinkedIn.
How forwarding works
- Forwarding runs in a separate runtime,
forward.js(~5 kB gzipped), loaded on demand via a dynamic import. - It loads only if your workspace has ad-platform IDs. If you haven't connected any, the runtime is never downloaded.
- Events fired before the platform adapters finish initializing are buffered and replayed once they're ready, so nothing is lost at startup.
Connect a platform
To start forwarding to a platform, add its pixel/tag ID in Zalify. Each platform has a short setup guide:
- Set Up Meta (Facebook) Pixel & Conversions API (CAPI)
- Set Up Google Ads Conversion Tracking
- Set Up TikTok Pixel & Events API
- Set Up Pinterest Pixel & Conversions API
Once an ID is saved, forwarding to that platform turns on automatically the next time the Pixel loads.
Already have a native pixel installed?
Avoid double-counting
If your site already runs a first-party custom pixel for a platform, Zalify detects it and skips forwarding to that platform so you don't count conversions twice. If you're migrating to Zalify, remove the old pixel snippets from your theme — see How to cleanly remove legacy third-party Pixels code.
Content Security Policy
If your site enforces a Content Security Policy, allow the Pixel and the ad vendors' origins so their scripts can load. At minimum:
script-src https://cdn.zalify.com https://connect.facebook.net https://www.googletagmanager.com
Add the origins for whichever platforms you've connected (for example connect.facebook.net for Meta and www.googletagmanager.com for Google/GA4).
Next steps
- Configure consent (GDPR/CCPA) — forwarding respects your consent gate
- Test your setup with Preview Mode — confirm events are firing before checking your ad dashboards
- Collect emails with a popup form — capture leads and fire a
leadconversion