# Debug Mode Doesn't Work With Shopify Custom Pixel

**URL:** <https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154>\
**Category:** Data collection and tags\
**Created:** [May 19, 2025, 6:53pm UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154 "2025-05-19T18:53:58Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Culbertson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/david_culbertson/32/1479_2.png) [@David\_Culbertson](https://community.piwik.pro/u/David_Culbertson)\
**Post date:** [May 19, 2025, 6:53pm UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/1 "2025-05-19T18:53:58Z")

</div>

Hello,

I’ve got Shopify site ([https://cornhole.org](https://cornhole.org)) for which debug mode doesn’t work. Is this a known issue? I’m getting data into the related Piwik Pro account but without debugging mode, I can’t confirm if a tag for MS Clarity is firing.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/f/fe05cefa44bb2a726c349fc6d579966525932f9c.png)

---

<div class="post-metadata">

**Author:** ![jfidala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jfidala/32/4263_2.png) [@jfidala](https://community.piwik.pro/u/jfidala)\
**Post date:** [May 20, 2025, 7:18am UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/2 "2025-05-20T07:18:38Z")

</div>

hello @David_Culbertson

How is Piwik PRO installed on this specific Shopify instance?

Can you verify it with our tutorial:

> **[Shopify: install a tracking code | Piwik PRO help center](https://help.piwik.pro/support/getting-started/shopify-install-a-tracking-code/)**
>
> If you’re running an online store on Shopify, it’s easy to track how it’s being used. All you need to do is add your store to Piwik PRO, install a few pieces of code and you’re done. You’ll have access to Analytics, and optionally Consent Manager...

---

<div class="post-metadata">

**Author:** ![Szymon\_Syslo](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/szymon_syslo/32/3868_2.png) [@Szymon\_Syslo](https://community.piwik.pro/u/Szymon_Syslo)\
**Post date:** [May 20, 2025, 9:51am UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/3 "2025-05-20T09:51:12Z")

</div>

Debug mode works based on tags, and it seems that the Piwik PRO Tag Manager container is not loaded on the page. In general, Shopify runs web pixel code in a sandboxed environment, inside a separate isolated worker. That’s why the page doesn’t have direct access to client tracker for example.

---

<div class="post-metadata">

**Author:** ![David\_Culbertson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/david_culbertson/32/1479_2.png) [@David\_Culbertson](https://community.piwik.pro/u/David_Culbertson)\
**Post date:** [May 20, 2025, 10:57am UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/4 "2025-05-20T10:57:55Z")

</div>

@jfidala

Yes, using the recommended method:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/f/f5c28a3580ff57b60fb7988ff963aa8b70e643d4.png)

Here’s the MS clarity tag set-up in PP tag manager, it is set to fire on a all page views:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/2/251ee1f2e039b91774c678d587e5500e4bc54d54.png)

It stopped firing in late Feb/early Mar, probably after I switched to the sandboxed pixel.

---

<div class="post-metadata">

**Author:** ![jfidala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jfidala/32/4263_2.png) [@jfidala](https://community.piwik.pro/u/jfidala)\
**Post date:** [May 20, 2025, 11:46am UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/5 "2025-05-20T11:46:32Z")

</div>

@David_Culbertson it’s tracking code, not container code - that’s why it’s not loading tags.

Depending on your consent setup you will have to do something like in second option - add tag manager container and think about some solution to either use your consent manager or the one in tutorial.

---

<div class="post-metadata">

**Author:** ![David\_Culbertson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/david_culbertson/32/1479_2.png) [@David\_Culbertson](https://community.piwik.pro/u/David_Culbertson)\
**Post date:** [May 20, 2025, 12:18pm UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/6 "2025-05-20T12:18:57Z")

</div>

@jfidala

Very enlightening! I notice that nowhere on your Shopify tracking code installation is there a clarifying statement that this tag, since it’s a Shopify-specific tag, does not take the place of the base PP tag (i.e., the PP tag manager). I highly recommend that you add such a disclaimer.

So what’s the solution? Should I install your tag manager in theme.liquid OR use the Shopify-specific installation of your tag manager:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/e/e925efd832734a890954fe17c8707770779bba5b.png)

AND, it appears to capture some of the same data as your Shopify pixel:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/8/80cbcc24121a2bc35dbbc0220667a32d014b8e56.png)

So now, I am super confused!

---

<div class="post-metadata">

**Author:** ![jfidala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jfidala/32/4263_2.png) [@jfidala](https://community.piwik.pro/u/jfidala)\
**Post date:** [May 23, 2025, 10:27am UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/7 "2025-05-23T10:27:01Z")

</div>

@David_Culbertson thanks for the feedback, I’ve passed it to the team.

Unfortunately due to how Shopify allows us to integrate, for now it’s the only way to make it work with the ecommerce features.

You can try to install Piwik PRO Tag Manager container on your own in theme but we cannot guarantee that all the features will be working correctly.

---

<div class="post-metadata">

**Author:** ![David\_Culbertson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/david_culbertson/32/1479_2.png) [@David\_Culbertson](https://community.piwik.pro/u/David_Culbertson)\
**Post date:** [May 23, 2025, 3:52pm UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/8 "2025-05-23T15:52:04Z")

</div>

As far as Shopify e-commerce data tracking goes, is there any difference between using the pixel and using the app? Can you clarify that for me? Then, I assume for any other tags, I’m gonna have to install your container tag in the Thieme.

---

<div class="post-metadata">

**Author:** ![jfidala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jfidala/32/4263_2.png) [@jfidala](https://community.piwik.pro/u/jfidala)\
**Post date:** [May 26, 2025, 12:28pm UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/9 "2025-05-26T12:28:04Z")

</div>

@David_Culbertson  
The main difference between integration and pixel is how much you can modify it. While our integration app allows you for simple settings, code from help center allows you to adjust more things with custom built in shopify functions.

---

<div class="post-metadata">

**Author:** ![David\_Culbertson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/david_culbertson/32/1479_2.png) [@David\_Culbertson](https://community.piwik.pro/u/David_Culbertson)\
**Post date:** [May 26, 2025, 3:51pm UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/10 "2025-05-26T15:51:00Z")

</div>

Thanks, @jfidala

I’ll stick with the pixel for the shopify tracking and added the PP container snippet to theme.liquid for managing other tags.

---

<div class="post-metadata">

**Author:** ![blugarda](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@blugarda](https://community.piwik.pro/u/blugarda)\
**Post date:** [May 28, 2025, 8:48am UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/11 "2025-05-28T08:48:47Z")

</div>

Looking for a solution as well.

We tried install using Shopify Pixel and with the new app. Also tried with/without tracking code. The tracking code is required as the app otherwise does not seem to work.

Client side actions work in the debugger when consent is given, however the custom pixel events (add to cart, purchase) do not show up in debug.

---

<div class="post-metadata">

**Author:** ![jfidala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jfidala/32/4263_2.png) [@jfidala](https://community.piwik.pro/u/jfidala)\
**Post date:** [May 28, 2025, 11:03am UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/12 "2025-05-28T11:03:50Z")

</div>

Hello @blugarda and welcome to the community.

Don’t use both setups, use either app or dedicated shopify tracking pixel from our helpcenter:

> **[Shopify: Install Piwik PRO app | Piwik PRO help center](https://help.piwik.pro/support/getting-started/shopify-install-piwik-pro-app/)**
>
> Note: This app is not listed in Shopify’s app store, so you won’t find it there. You can install it using the direct link provided below. If you’re running an online store on Shopify, it’s easy to track how visitors interact with your site or app....

> **[Shopify: Install a tracking code | Piwik PRO help center](https://help.piwik.pro/support/getting-started/shopify-install-a-tracking-code/)**
>
> If you’re running an online store on Shopify, it’s easy to track how it’s being used. All you need to do is add your store to Piwik PRO, install a few pieces of code and you’re done. You’ll have access to Analytics, and optionally Consent Manager...

If you are using shopify integration app make sure that in settings all ecommerce events are selected like in article. If those problems persist, send me your shop URL and instance name - I will try to look into it

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/1X/db7013c4fd6a24443b339309db52f14995207737.png) [@system](https://community.piwik.pro/u/system)\
**Post date:** [May 30, 2025, 11:03am UTC](https://community.piwik.pro/t/debug-mode-doesnt-work-with-shopify-custom-pixel/5154/13 "2025-05-30T11:03:57Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
