> ## Documentation Index
> Fetch the complete documentation index at: https://data-foundation.rockerbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deduplicating Conversions

It’s important that Rockerbox conversion reports are aligned with your internal reports for consistency between systems. While we do expect [Discrepancies](https://data-foundation.rockerbox.com/help-docs/getting-started/faq/faqs/discrepancies/discrepancies-between-internal-data-and-rockerbox.md), we also want to prevent over-counting of conversions. This can happen for a number of reasons, including:

* pixels fire multiple times for a pixel-based conversion event
* a [Webhooks](https://data-foundation.rockerbox.com/help-docs/setup-and-technical-documentation/conversion-events/offline-conversion-events/webhooks.md) payload includes the same conversion event more than once
* the same order is delivered in a [Batch File](https://data-foundation.rockerbox.com/help-docs/setup-and-technical-documentation/conversion-events/offline-conversion-events/conversions-batch-files.md) more than once

To address this, Rockerbox will deduplicate conversion events based on the conversion key set under Settings -> Conversions -> Edit -> Setup Options.

* For example, if the conversion key is set to order\_id, Rockerbox will only count one conversion per unique order\_id we receive.
* This is to prevent counting multiple conversions for inadvertent fires (eg if a customer refreshes the confirmation page after completing an order).
* If ‘Enable Cross-Day Deduplication’ is enabled, we’ll deduplicate across days.

> [!TIP]
>
> **Deduplicated Conversions**\
> If a conversion is deduplicated, the conversion data received earlier will take precedent and the more recent conversion will be deduplicated (ignored).

![](https://mintcdn.com/rockerbox-a0a04d23/KE6Wr9FyqylkxRas/images/help-docs/deduplicating-conversions/1659130709519-c-91-d-0-f-9-screen-shot-2020-12-18-at-6-22-30-pm.png?fit=max\&auto=format\&n=KE6Wr9FyqylkxRas\&q=85\&s=c1743640f6ae32c9affe39efa036c4d9)

You can also use a combination of comma-separated values as the conversion key. For example, you can use email,date,action if you only want to count one conversion per email per day.

![](https://mintcdn.com/rockerbox-a0a04d23/KE6Wr9FyqylkxRas/images/help-docs/deduplicating-conversions/1659130709918-75-ec-252-screen-shot-2020-12-21-at-4-39-53-pm.png?fit=max\&auto=format\&n=KE6Wr9FyqylkxRas\&q=85\&s=b9fa5938d75c7b9c7831f2430b11d754)

If the pixel isn’t passing us email, you could use uid,date,action to count one conversion per Rockerbox cookie id per day. This is our default conversion key for upper-funnel events that don’t pass us identifying information like email or external\_id.

![](https://mintcdn.com/rockerbox-a0a04d23/KE6Wr9FyqylkxRas/images/help-docs/deduplicating-conversions/1659130710324-f-88-ba-97-screen-shot-2020-12-21-at-4-42-07-pm.png?fit=max\&auto=format\&n=KE6Wr9FyqylkxRas\&q=85\&s=776ae5f381453785130a7aeb006c101f)

> [!NOTE]
>
> **Only Include Values Included in Pixel Fires in the Conversion Key**\
> Be careful only to include values that are being passed to the Rockerbox conversion pixel in the conversion key. If you set the conversion key to order\_id, and we don’t get order\_id, we’ll deduplicate everything and won’t count any conversions


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.