Send your conversion events directly to Snapchat’s Conversions API (CAPI), now at the edge.
Find it on GitHub: /edgee-cloud/snapchat-capi-component
Snapchat Conversions API (CAPI) allows you to send web events directly to Snapchat from your server, ensuring reliable data tracking even with ad blockers or browser limitations. With Edgee’s edge integration, you can now send these events directly from the edge, improving both reliability and performance.
Here’s how Edgee events map to Snapchat CAPI events:
Edgee event | Snapchat CAPI Event |
---|---|
Page | PageView |
Track | Name of the event |
Snapchat Conversions API requires user identification data for event processing. Each event must include at least one of the following user properties:
Events without any user identification will be ignored by Snapchat.
When you make a user
call, Edgee stores the user’s data (user_id, anonymous_id, and properties) on the device. This enables proper attribution for subsequent page views and events.
To integrate Snapchat CAPI into your Edgee project:
edgee/snapchat-capi
from the list of available components.Snapchat Access Token
: Your Snapchat CAPI access tokenSnapchat Pixel ID
: Your Snapchat Pixel IDSnapchat Test Event Code
(Optional): For testing your implementationTo know how to get your access token and pixel ID, visit the Snapchat Marketing API documentation.
When configuring the component in your Edgee Data Layer or within SDK calls, use snapchat_capi
as the component name:
Use Snapchat’s Test Event Code during implementation to avoid affecting your actual data and ad campaigns.
For more details on Snapchat Conversions API implementation, refer to the official Snapchat CAPI documentation.