Skip to main content

Connecting Your Shopify Store

Connect Shopify to Tanganica: products upload automatically and you turn on tracking in Shopify by clicking Save. Or set up manually.

Written by Saša Kučerová

You can set up your Shopify store in Tanganica in two ways:

  • Connecting through the Tanganica app (recommended): your products upload automatically without an XML feed, and you turn on tracking in Shopify with one click.

  • Manual setup: you upload products with an XML feed and add the tracking code to Shopify as a custom pixel, just like on other platforms.

How to connect your Shopify store

Always start the connection from the Tanganica app, not from your Shopify admin.

  1. In the setup guide, in the Connect your Shopify store step, click Connect Shopify store.

  2. Shopify opens. Install the Tanganica app, approve the permissions and close the Shopify tab. Your products then upload in the background.

  3. In the Turn on tracking in Shopify step, click Open the settings in Shopify. Your store's theme editor opens with Tanganica tracking already turned on. Just click Save in the top right corner.

  4. Go back to Tanganica and click Check. The app verifies that tracking works and lets you continue.

Finished the installation in another browser or in the Shopify app? Go back to the Tanganica tab and the connection is checked automatically. If the app does not see it within 3 minutes, it offers the Check connection button.

For a connected store, you don't copy or paste any tracking code, so you won't see the tracking code step at the end of the setup guide. If tracking in Shopify is already turned on, the Turn on tracking in Shopify step is skipped. Products of a connected store update automatically every night, so changes in Shopify (prices, stock, new products) show up in Tanganica by the next morning at the latest. You can't start an update manually.

From Shopify, we also send the EAN (GTIN), sale price and product weight to Google. We send colour, size, material and pattern when the variant options in Shopify are linked to the product category metafields.

You can also connect your store later in Settings → Product upload with the Connect Shopify store button.

The tracking check failed?

If the app says Tracking is not turned on, click Open the settings in Shopify again, click Save in the top right corner of the theme editor and then Check again in Tanganica. If the app offers Reinstall the Tanganica app, the app is missing permissions in Shopify. Click the button, approve the permissions in Shopify and turn on tracking again.

We keep an eye on your tracking

Every day we check whether tracking is turned on in Shopify. It most often switches off after you change your store's theme. If it is off and no data has come from your store for 2 days, we send you an email with a link that takes you straight to the settings in Shopify, where you just click Save. A reminder follows after 4 days.

You'll also see a warning in the app: on the dashboard and in Settings → Tracking code, a panel shows that tracking in Shopify is turned off, with a button that takes you back to Shopify. Click Save there and then Check in Tanganica.

How much does the Tanganica app cost in Shopify?

The Tanganica app in the Shopify App Store is free. You pay the same way as other e-shops: the advertising credit you top up in the Tanganica app and our fee on orders brought in by our ads. The Premium plan you see in the Shopify App Store is our Tanganica Premium subscription. It is optional and you don't need it for advertising. You activate and pay for it only in the Tanganica app on the Subscription tab, you can't buy it through Shopify.

Manual setup without connecting

If you don't want to install the Tanganica app or already have your own XML feed, click I want to set up the e-shop manually in the Connect your Shopify store step. Then you continue the same way as on other platforms. You can switch to the connection at any time.

Products via an XML feed

You only need an XML feed with manual setup; a connected store doesn't need one. Shopify doesn't create an XML feed itself. You can create one, for example, in the Feedyio app, which has a ready-made template for Tanganica:

  1. Install the Feedyio app from the Shopify App Store and click Sync products.

  2. Click Create feed and choose the Tanganica template.

  3. Copy the feed address with Copy Public link and paste it in Tanganica into the Enter your XML feed URL field.

You can also use another app that creates a Google Shopping feed in XML format.

Tracking code as a custom pixel

You copy the tracking code in the setup guide in the Add the tracking code step with the Copy the code button, or send it to your developer with Send the code to a developer. After you finish the guide, the code is also in Settings → Tracking code. For Shopify, always copy the code from the app: Shopify does not accept the standard code with <script> tags.

📷 Step-by-step guide with screenshots: Add the tracking code to Shopify. You can also send this link to your developer.

  1. In your Shopify admin, click Settings in the bottom left corner.

  2. In the settings menu, open Customer events and click Add custom pixel. Name the pixel Tanganica Pixel and confirm with Add pixel.

  3. Delete the pre-filled grey text from the field and paste in the tracking code.

  4. Save your changes with Save in the top bar, then click Connect in the top right. The pixel won't run on your store until it's connected.

  5. In the Tanganica setup guide, click Run the test at the end of the Add the tracking code step. After you finish the guide, run the test under Settings → Tracking code with Test Pixel.

The Shopify code is the same for all stores, you can also find it in the box below:

(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-TRS5RSN');analytics.subscribe("checkout_completed", event => {  window.dataLayer.push({    event: "checkout_completed",    order_id: event.data.checkout.order.id,    price: event.data.checkout.totalPrice.amount,    currency: event.data.checkout.currencyCode,    items: event.data.checkout.lineItems,  })});

The app didn't find the code?

  • Check that the code is in Customer events and that the changes are saved.

  • Check that you connected the pixel in the last step.

  • If Shopify asks you to remove the Tanganica Pixel, don't remove it.

The setup guide didn't detect Shopify?

If Tanganica didn't detect your store when you registered, the setup guide asks you in the Upload your products step: Which platform is your e-shop on? Choose Shopify and connect the store as described above. If you chose a different platform, go back with Change platform. If the guide shows the Enter your XML feed URL field right away without this question, it detected your store as a different platform, and you can't change that in the guide. Set the store up manually as described above. After you finish the guide, you can choose Shopify in Settings → Online store info → E-commerce platform and connect the store; your products are then replaced with those from Shopify. Afterwards, delete the custom pixel in Shopify, otherwise orders will be counted twice.

Does your Shopify store have several languages or currencies?

Connecting through the Tanganica app currently uploads products only in your store's primary language and primary currency, with links to its primary version. It doesn't load language versions or markets from Shopify (for example eshop.com/pl). Use the connection only if your store's primary language and currency match the country where you advertise. The product language depends only on where the products are uploaded from; the e-shop address in Tanganica doesn't change it. If you already have an e-shop for that country, don't add a new one with the language version's address (for example eshop.com/pl). Set up the existing one manually instead.

Advertising in another language or currency? Set up the e-shop manually as described above: an XML feed for that language version with titles, descriptions, prices and links for the target country, and the tracking code as a custom pixel.

If your store is already connected, disconnect it in Settings → Product upload: next to your Shopify store, click Disconnect. Disconnecting removes the tracking code from your store and the products from the app, and it applies to every e-shop in Tanganica where the same Shopify store is connected. If any of them still needs the connection, write to us before you disconnect.

Is your store connected before 29 October 2026?

Shopify no longer allows apps to add scripts to stores, so we have moved tracking to a new method. Stores connected through the Tanganica app before 29 October 2026 need to be connected again. It takes a few minutes:

  1. In Tanganica, open Settings → Product upload (or Tracking code) and click Disconnect Shopify.

  2. Click Connect Shopify store, install the Tanganica app in Shopify and approve the permissions. Your products then upload again in the background.

  3. Go back to Tanganica, click Open the settings in Shopify and then Save in the top right corner in Shopify.

  4. In Tanganica, click Check.

⚠️ If you added the Tanganica Pixel to Shopify manually as a custom pixel (Settings → Customer events → Custom pixels), delete it after reconnecting. Otherwise orders will be counted twice. Stores set up manually with an XML feed and a custom pixel don't need to do anything.

💡 Need help?
Write to us via Support in the app.

Did this answer your question?