Skip to main content

PrestaShop

Learn how to install the Tanganica Pixel on PrestaShop. This article explains how to add the code using the Custom HTML Head Tags module and verify that the Pixel is working properly.

I
Written by Info Tanganica
Updated over a week ago

The Tanganica Pixel lets you track ad performance, get detailed statistics, and unlock advanced features. Here’s how to install it on your PrestaShop store:

1. Install the module for adding code

You can easily add the Pixel using the Custom HTML Head Tags module.

  • Log in to your PrestaShop admin.

  • In the left menu, go to Modules → Module Catalog.

  • Search for Custom HTML Head Tags.

  • Select the module, click Install, then Configure.

2. Add the Tanganica Pixel code

  • Open the Custom HTML Head Tags module settings.

  • Find the field for custom HTML code in the head section of your site.

  • Paste the following code:

<!-- Tanganica pixel -->

<script>(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;

f.parentNode.insertBefore(j,f);

})(window,document,'script','dataLayer','GTM-TRS5RSN');</script>

<!-- End Tanganica pixel -->

  • Save the changes.

❗ After saving, test in Tanganica to confirm the Pixel is working correctly.

Troubleshooting if Pixel is not detected:

  • Make sure the code is placed in the head section.

  • Check that the code has no typos or invalid characters.

  • Verify you saved all changes.

  • Ensure your store pages are fully functional.

👉 Still not working? Contact our support — we’ll be happy to help 🚀

📖 You can also find the full step-by-step guide in our Help Center: tanganica.com/en/help-center

Did this answer your question?