Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Disconnecting old marketing scripts in Shopify

How to disconnect various analytics and advertising tools from your Shopify store to ensure there will be no double tracking.

When you publish your server-side tagging setup, Shopify’s built-in sales channel apps may still be sending data directly to Google, Meta, TikTok and Pinterest. If these connections stay active, events are tracked twice: once through your server-side setup and once through Shopify itself.

This guide explains step by step how to disconnect these native integrations. This turns off third-party tracking from Shopify and makes sure your server container URL is the leading destination for your data, instead of Shopify’s own GA4 connection. Follow the instructions below for Google Analytics 4, Meta Ads, TikTok Ads and Pinterest.

Google Analytics 4

To disconnect Google Analytics 4:

  • Navigate to the Google & YouTube app in Shopify.

  • Open the settings of this app.

  • If a Google Analytics property is still connected, disconnect it.

  • Also ensure the Conversion Tracking option is turned off.

Meta Ads

To disconnect Meta Ads:

  • Go to the Facebook & Instagram app in Shopify.

  • Click Settings at the top.

  • If Data sharing is turned on, ensure that you disable this option.

  • Also check the tracking settings in your Meta Events Manager configuration.

TikTok Ads

To disconnect TikTok Ads:

  • Go to the TikTok app in Shopify.

  • Click Settings at the top.

  • Go to the Data sharing settings.

  • Click Disconnect next to the Pixel.

Pinterest

To disconnect Pinterest:

  • Go to the Pinterest app in Shopify.

  • Go to the Marketing settings.

  • Make sure the Pinterest tag is disconnected, so you no longer share data directly with Pinterest.

Last updated

Was this helpful?