How to Set Up Snapchat Integration
This guide walks you through setting up Snapchat's Conversions API (CAPI) integration in Everflow to track conversions and optimize your campaigns.
What This Integration Does
- Tracks Conversions: Sends conversion data directly to Snapchat via their API
- Improves Targeting: Helps Snapchat optimize your campaigns with first-party data
- Better Attribution: Uses Snapchat Click ID for accurate conversion tracking
- Real-time Data: Passes conversion events as they happen
Before You Begin (Prerequisites)
Stop! Before attempting this setup, ensure you have the following items ready. Missing any of these will cause the integration to fail.
Before You Begin (Prerequisites)
Prerequisites Checklist
We strongly recommend using Direct Linking for all Snapchat campaigns.
Snapchat requires the ScCid (Snapchat Click ID) to be passed seamlessly from the ad click to the landing page. Traditional Redirect Links often strip this parameter or trigger "flagging" mechanisms in Snapchat's ad review process, risking account suspension. Direct Linking ensures the ScCid lands on the page and is captured by the JavaScript SDK.
.png)
Step-By-Step Guide
Even if you are managing the media buy internally, you must create a dedicated "Partner" in Everflow to represent Snapchat. This isolates the traffic and ensures accurate reporting.
Now, switch back to your Admin portal to configure the data mapping.
You must map the following macros. These tell Everflow to look for this data in the click URL and pass it to Snapchat (hashed for privacy).
{phone} macro.{email} macro.{ScCid} macro.{transaction_id}.Since you are using Direct Linking, the user lands directly on your page. You must install the Everflow JS SDK to generate a Transaction ID for conversion tracking.
Part A: Get Your Tracking Domain
Go to Control Center > Configuration > Domains. Note your active Tracking Domain (e.g., track.mybrand.com).
Part B: Implement the Code
Copy the code below and paste it into the <head> section of your landing page. You MUST replace TRACKING_DOMAIN with your actual domain from Part A.
<script type="text/javascript"
src="https://www.TRACKING_DOMAIN.com/scripts/main.js"></script>
<script type="text/javascript">
EF.click({
offer_id: EF.urlParameter('oid'),
affiliate_id: EF.urlParameter('affid'),
source_id: EF.urlParameter('source_id'),
sub1: EF.urlParameter('sub1'),
sub2: EF.urlParameter('sub2'),
sub3: EF.urlParameter('sub3'),
sub4: EF.urlParameter('sub4'),
sub5: EF.urlParameter('sub5'),
uid: EF.urlParameter('uid'),
transaction_id: EF.urlParameter('_ef_transaction_id'),
});
</script>
ScCid) from the URL — just like it does for gclid and fbclid. You do not need to manually add it to your click script parameters.

Troubleshooting

Supported Data & Parameters
This integration automatically handles the security requirements for Snapchat's CAPI.
- PII Hashing: Emails and Phone numbers are automatically hashed before being sent to Snapchat.
- Attribution Window: Snapchat accepts events up to 37 days after the click.
- Dual-Tracking: This CAPI integration is designed to work alongside the standard Snapchat Pixel for maximum data match rates.