# Shopify - Custom Pixel Installation

**URL:** <https://community.piwik.pro/t/shopify-custom-pixel-installation/3596>\
**Category:** API & integrations\
**Created:** [February 6, 2024, 8:37am UTC](https://community.piwik.pro/t/shopify-custom-pixel-installation/3596 "2024-02-06T08:37:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![clement\_somon](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@clement\_somon](https://community.piwik.pro/u/clement_somon)\
**Post date:** [February 6, 2024, 8:37am UTC](https://community.piwik.pro/t/shopify-custom-pixel-installation/3596/1 "2024-02-06T08:37:39Z")

</div>

Hello,

I tried to install Piwik Pro in Shopify Custom Pixel type installation (so that we can have it on the checkout) but Shopify is warning that there is recursivity in the base code.

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

The process is here : [Shopify Help Center | Custom pixel code](https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/code)

Can you please help / provide a base tracking code without recursivity ?

Thanks in advance,

Clément.

---

<div class="post-metadata">

**Author:** ![asinior](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/asinior/32/1905_2.png) [@asinior](https://community.piwik.pro/u/asinior)\
**Post date:** [February 6, 2024, 8:58am UTC](https://community.piwik.pro/t/shopify-custom-pixel-installation/3596/2 "2024-02-06T08:58:18Z")

</div>

Hi,  
Welcome to the community!

Have you followed Piwik PRO’s guide on how to install a tracking container in Shopify? - [Shopify: install a container (with a tracking code) | Piwik PRO help center](https://help.piwik.pro/support/getting-started/shopify-install-a-container-with-a-tracking-code/?pk_vid=9fa05eae8355e9ab17072098081bc3a9)

---

<div class="post-metadata">

**Author:** ![clement\_somon](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@clement\_somon](https://community.piwik.pro/u/clement_somon)\
**Post date:** [February 6, 2024, 9:07am UTC](https://community.piwik.pro/t/shopify-custom-pixel-installation/3596/3 "2024-02-06T09:07:35Z")

</div>

Hello,

Thanks !

Sure, files in .liquid do not allow a deployment on the checkout part 🙂, hence my question !

---

<div class="post-metadata">

**Author:** ![asinior](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/asinior/32/1905_2.png) [@asinior](https://community.piwik.pro/u/asinior)\
**Post date:** [February 6, 2024, 9:36am UTC](https://community.piwik.pro/t/shopify-custom-pixel-installation/3596/4 "2024-02-06T09:36:14Z")

</div>

Do you need Piwik PRO Tag Manager? If not, then you could try to implement the script that will only run the Analytics:

> **[No Piwik PRO Tag Manager: install a tracking code | Piwik PRO help center](https://help.piwik.pro/support/getting-started/no-piwik-pro-tag-manager-install-a-tracking-code/)**
>
> If you simply want to install a Piwik PRO tracking code without a container, you can use the code described below. Keep in mind that this will let you to use Analytics only, without access to Tag Manager or Consent Manager. To install a tracking code...

The container for this particular case is much simpler and is not recursive.

---

<div class="post-metadata">

**Author:** ![clement\_somon](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@clement\_somon](https://community.piwik.pro/u/clement_somon)\
**Post date:** [February 6, 2024, 9:42am UTC](https://community.piwik.pro/t/shopify-custom-pixel-installation/3596/5 "2024-02-06T09:42:30Z")

</div>

Yes, actually I need the TMS most of all. I used GTM as of now, but I would love to be able to switch to Piwik Pro 🙂

Thanks !

---

<div class="post-metadata">

**Author:** ![asinior](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/asinior/32/1905_2.png) [@asinior](https://community.piwik.pro/u/asinior)\
**Post date:** [February 6, 2024, 9:55am UTC](https://community.piwik.pro/t/shopify-custom-pixel-installation/3596/6 "2024-02-06T09:55:54Z")

</div>

Apart from these two solutions, it would be difficult to propose anything else. The only solution for now I see is to modify the files in .liquid so that they allow a deployment on the checkout page as this interferes with the method that we recommend using.

---

<div class="post-metadata">

**Author:** ![clement\_somon](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@clement\_somon](https://community.piwik.pro/u/clement_somon)\
**Post date:** [February 6, 2024, 10:08am UTC](https://community.piwik.pro/t/shopify-custom-pixel-installation/3596/7 "2024-02-06T10:08:20Z")

</div>

Thanks for your feedback !

For security reasons (according to Shopify), it seems to be very difficult (not to say impossible) to modify the .liquid files for the checkout for most subscriptions nowadays…

Please advise when a workaround is available. I’d be more than happy to test it if need be ! I would rather have the choice to use Piwik Pro 🙂

---

<div class="post-metadata">

**Author:** ![anthonybartczak](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/anthonybartczak/32/2430_2.png) [@anthonybartczak](https://community.piwik.pro/u/anthonybartczak)\
**Post date:** [August 9, 2024, 10:14am UTC](https://community.piwik.pro/t/shopify-custom-pixel-installation/3596/8 "2024-08-09T10:14:14Z")

</div>

Hi @clement_somon,

We have updated our Shopify integration instructions to fit the Custom Pixel environment.

> **[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...

We are also working on a Shopify application that will make the setup process a lot easier.
