# Duplicated Events Tracking

For optimal ad performance, we recommend that advertisers implement the Conversions API alongside their Meta Pixel. We call this a "redundant setup" and detail more about this recommended approach [here](https://developers.facebook.com/docs/marketing-api/conversions-api/guides/end-to-end-implementation#pick-your-integration-type).

Zotek already supports a method to deduplicate server-side and browser-side events by comparing `event_id`. As a result, if your setup is correct, the received events are all deduplicated. &#x20;

<figure><img src="https://665109148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRCFrgPRjEORpwT5Gutd8%2Fuploads%2FRry2OJQHVaOwPebjtjOX%2Fimage.png?alt=media&#x26;token=2fd5175d-5cd1-4179-a82e-7f0a2a5fec0d" alt=""><figcaption></figcaption></figure>

At its core, if the user guarantees **that each pixel is installed using a single technique at the same time, repeated occurrences will not occur.** This leads to **three possible reasons** for redundant event tracking:

**Case 1:** Manually insert Meta Pixel based codes to Liquid before leads to duplicate event tracking.

When you [install Zotek](https://apps.shopify.com/facebook-multiple-pixel?utm_source=gitbook), Meta Pixel scripts are immediately implemented in your shop.\
In this instance, just identify and remove the scripts that were previously inserted manually.&#x20;

For example, Meta scripts are normally guided to insert to file `theme.liquid`&#x20;

<figure><img src="https://665109148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRCFrgPRjEORpwT5Gutd8%2Fuploads%2FCt6kZVPg13GY5JCLDg9w%2F909e9938-1f76-4d0a-92cb-741da433ab84.png?alt=media&#x26;token=b9236d57-bf5a-449f-8c31-d5ec843ccaf3" alt=""><figcaption></figcaption></figure>

**Case 2:** Your online store has another Meta Tracking Pixel app with the same Pixel ID setup.&#x20;

We frequently encounter this situation while assisting a consumer whose Pixel ID is controlled by both Zotek and another tracking app (a listed or unlisted Shopify App).

\
It is understandable to test out another app other than Zotek to compare; however, to make it function properly, please ensure that ***each pixel ID is installed by just one app at the same time***.

**Case 3**: Similar to the second scenario, but the app is Meta app **Facebook & Instagram.** &#x20;

We recommend disabling any additional CAPI integration when you install our Shopify to Conversions API connection.

Please follow this tutorial to [turn off Shopify's CAPI Integration](https://zotek.gitbook.io/facebook-multiple-pixel/getting-started/set-up-meta-pixel-guide/turn-off-shopifys-capi-integration).
