Deduplication in AnyTrack
Learn how Anytrack deduplication process runs and how to leverage it to improve accurate attribution data in your ad platforms.
When Meta first launched the Conversions API, it promised more accurate tracking and better optimization. But with it came a new challenge that has haunted digital marketers ever since: deduplication.
Five years later, the struggle is still real. Duplicate events continue to inflate metrics, confuse attribution, and frustrate marketers who just want clean, reliable data. The good news? With AnyTrack, deduplication is handled automatically β before events even reach your ad platforms.
Why Deduplication is Necessary
Without deduplication, the same conversion might be tracked multiple times β for example:
- Once in the browser (Pixel/Tag)
- Again via an API or webhook
- Or even multiple times in the funnel (e.g., several form submissions)
This would inflate metrics and send unreliable signals to your ad platforms. Deduplication ensures that only one clean event is counted.
Deduplication Use Cases
There are several scenarios where deduplication is required:
-
When AnyTrack receives both client-side and server-side events
- Example: Shopify
Add to Cart
tracked via the AnyTrack Tag (client) and via the Shopify Webhook (server).
- Example: Shopify
-
When AnyTrack receives only server-side events
- Example: conversions sent exclusively through an API or webhook.
-
When AnyTrack receives only client-side events
- Example: conversions tracked solely via the AnyTrack Tag.
Deduplication is required whenever the same type of event is received multiple times with similar conversion data.
For example:When we integrated ClickFunnels in Anytrack we realized that during a sales funnel, a user might submit several forms (
form_submit
events) which was triggering an Event Snippet in the browser with aLead
event. While this event was firing in the browser, the AnyTrack webhook was receiving real time customer data directly from the ClickFunnels server and we could deduplicate these events and customers were finally able to optimize their campaigns for a realLead
event.
How AnyTrack Deduplicates Events
In all cases, deduplication is handled automatically by AnyTrack, using multiple identifiers and event parameters, including:
- AnyTrack Click ID
- Customer data
- First-party data (cookies, fingerprinting signals)
- Transaction data (transaction ID, order ID)
Events from client-side and server-side are compared, cleaned, and merged into a single event record.
π Shopify Example: Meta vs. AnyTrack Deduplication
Aspect | Meta Recommended Approach | AnyTrack Approach |
---|---|---|
Event Sources | Browser (Meta Pixel) + Server (Conversions API) | Shopify Tag (client) + Shopify Webhook (server) |
Deduplication Method | Must generate a unique event_id in browser, pass same event_id to server | Automatically deduplicates using multiple identifiers (cart_id , client_id , click_id , customer + transaction data) |
Who Deduplicates? | Meta deduplicates inside its platform after receiving Pixel + CAPI events | AnyTrack deduplicates before sending events to Meta |
Data Sent to Meta | Both Pixel + CAPI events (Meta deduplicates them) | Only deduplicated server-side events from AnyTrack |
Risk of Duplicates in Meta | Possible if event_id setup is wrong | None, since Pixel is not used and events are pre-deduplicated |
What You Should Do About Deduplication
To make sure you donβt run into duplicate events, here are some best practices to follow:
-
Prevent the Meta Pixel from firing outside of AnyTrack
- AnyTrack already handles conversion tracking and deduplication for you.
- If other systems (or your own code) still trigger events directly to the Meta Pixel, duplicates will slip through.
-
Remove event snippets you previously added manually
- Delete any old code snippets for
Lead
,Purchase
,AddToCart
, etc. - If you leave them in place, Meta will receive the same event twice: once from your snippet, and once from AnyTrack. Since AnyTrack doesn't control what is fired in the Event Snippet, the required deduplicated parameters won't be identical to the server side events, and duplicate data will slip through.
- Delete any old code snippets for
-
Disconnect overlapping apps
- Remove or disconnect apps that interact with ad platforms youβve already connected to AnyTrack (e.g., Meta, Google, TikTok).
- Otherwise, both the app and AnyTrack could be sending the same events.
- Remove tags from tag management platforms (Google Tag Manager, Stape.io)
β
Native vs. Custom Integrations
-
Native Integrations (e.g., Shopify, ClickFunnels, etc.) If youβve connected AnyTrack via a native integration, you donβt need to do anything. The deduplication process is fully automated.
-
Custom Integrations Deduplication also happens automatically using common tracking parameters like the AnyTrack
click_id
.β οΈ Important for Purchase Events:
- You must pass the transaction_id for each purchase.
- The
click_id
alone is not enough, since it is tied to the customer, not the purchase. - Without the
transaction_id
, repeat purchases from the same customer could be deduplicated incorrectly.
Pro Tips for deduplication
- Rely on AnyTrack β Donβt fire Meta Pixel events directly; let AnyTrack handle all deduplication.
- Audit your site β Double-check that no legacy scripts or apps are still sending events to Meta Pixel using the AnyTrack Pixel Helper Extension
- Pass transaction IDs β Especially important for repeat purchase scenarios.
Frequently Asked Questions (FAQ)
-
How can I prevent sending duplicate data to AnyTrack?
- Ensure youβve removed old Pixel snippets and disconnected duplicate apps.
- Always send events through AnyTrack (tag, API, webhook), not directly to Meta.
-
How can I identify duplicate data in Meta Event Manager?
- If you just connected AnyTrack, it's normal to see some warnings and diagnostics from your Ad platforms. Wait 24 hours, select the appropriate date and inspect the event manager.
- You should see only Conversion API events. If you see 'Multiple' sources, it means that an other system is calling the Meta Pixel.
- Open the Event Details and open the deduplication tab. You will see an overlap of 0% between the data from Meta Pixel and Conversion API.
-
Event tracking snippets can cause duplication of data in ad platforms because they may track conversions separately from AnyTrack. This can lead to data inconsistency, which can negatively impact your ad performance.Why should I remove event tracking snippets from my shop? -
If you forget to remove the tracking snippets, it might result in data duplication, which can skew your ad performance analytics and lead to inaccurate reporting.What happens if I forget to remove the tracking snippets? -
AnyTrack has an integrated system that automatically deduplicates conversions using unique identifiers. It then sends this deduplicated data to the ad platforms' conversion API to ensure accurate reporting.How does AnyTrack handle conversion deduplication? -
No. In most cases Anytrack sends events via server-side integrations, also called Conversion API.Does AnyTrack send both client-side and server-side conversions? -
AnyTrack's conversion deduplication system is designed to work with all ad networks. In most cases, ad platforms use a combination of event parameters to deduplicate conversions.Can AnyTrack deduplicate conversions for all ad networks?
Updated about 14 hours ago