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

# The same purchase event appears twice with identical order details

> Purchase events doubled in Upstack? A client-side pixel and the Upstack server-side integration are both capturing the same order. Disable the overlap or deduplicate with matching event_ids.

**Quick check:** Open the **Live Event Stream** and filter by `Purchase` events. If you see two events with identical timestamps and order IDs, you likely have both a native pixel and the Upstack server-side integration firing for the same conversion.

**Likely cause:** Both a client-side pixel (e.g., Shopify's native conversion tracking or a custom script) and Upstack's server-side integration are capturing the same purchase event. Without matching `event_id` values, Upstack treats them as separate events.

**Fix:**

1. Go to **Live Event Stream** and click on the duplicate purchase events. Compare their `source` field:
   * If one shows `pixel` (client-side) and the other shows `webhook` or `server` — this confirms the overlap.
2. **Recommended approach — rely on server-side only:** In your Shopify admin, go to **Settings → Customer events** and disable any custom purchase tracking scripts that duplicate what Upstack already captures via server-side webhooks.
3. **Alternative — keep both with deduplication:** If you need client-side events for latency reasons, ensure both the client pixel and the Shopify webhook send the same `event_id` (the Shopify order ID works well). Upstack deduplicates events sharing the same `event_id` within a 5-minute window.
4. After making changes, monitor the Live Event Stream for 30 minutes to confirm duplicates have stopped.

***

**Still stuck?** Contact [support@upstackdata.com](mailto:support@upstackdata.com) with your Pixel ID and a description of the issue. We typically respond within a few hours.

## Related guides

<CardGroup cols={2}>
  <Card title="Disable existing tracking" icon="ban" href="/guides/migrations/disable-existing-tracking">
    Turn off redundant tracking pixels and integrations to prevent duplicate events.
  </Card>

  <Card title="Disable Facebook data sharing" icon="meta" href="/destinations/catalog/meta-capi/how-to-disable-facebook-and-instagram-data-sharing-in-shopify">
    Disable the Facebook and Instagram Sales Channel data sharing in Shopify.
  </Card>

  <Card title="Disable TikTok data sharing" icon="ban" href="/destinations/catalog/tiktok/how-to-disable-tiktok-data-sharing-in-shopify">
    Disable TikTok Sales Channel data sharing in Shopify to prevent duplicate conversions.
  </Card>
</CardGroup>
