What we send to Meta and TikTok.
What each platform receives, what the event is called there and how we avoid duplicates between the browser and the server.
The names on each platform
| Optimads | Meta | TikTok | From the server |
|---|---|---|---|
PageView | PageView | Pageview | yes |
ViewContent | ViewContent | ViewContent | yes |
AddToCart | AddToCart | AddToCart | yes |
InitiateCheckout | InitiateCheckout | InitiateCheckout | yes |
AddPaymentInfo | AddPaymentInfo | AddPaymentInfo | yes |
Purchase | Purchase | Purchase | yes |
Lead | Lead | Lead | yes |
CompleteRegistration | CompleteRegistration | CompleteRegistration | yes |
Subscribe | Subscribe | Subscribe | yes |
Contact | Contact | Contact | yes |
Search | Search | Search | yes |
| other name | custom event | same name | only as a custom action |
From the server, we send to Meta through Conversions API and to TikTok through Events API.
How we avoid duplicates
Each event has a code (event_id). The same code goes to the pixel in the browser and from the server, and Meta and TikTok keep a single event.
Store orders go out with a code made of the platform and the order number, for example shopify_1234 or woo_1234. The code is the same in the browser and on the server.
On connected stores, the sale from the browser is only provisional. We send the one from the store, which has the real value, so it doesn't arrive twice.
Personal data
The browser pixelDoesn't receive email, phone or name.
From the serverEmail, phone and the other data are sent turned into code (hashed), as Meta and TikTok require.
Stuck?Send us your website address and the step you're on. We'll help you.
contact@optimads.ai