Skip to main content

WooCommerce

Learn how to install the Tanganica Pixel on WooCommerce. This article explains how to add the code using the Insert Headers and Footers plugin and verify that the Pixel is working correctly.

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 WooCommerce store:

1. Install the plugin for adding code

You can easily add the Tanganica Pixel using the Insert Headers and Footers by WPCode plugin.

  • Log in to your WordPress admin.

  • In the left menu, go to Plugins → Add New.

  • Search for Insert Headers and Footers by WPCode.

  • Click Install, then Activate.

2. Add the Tanganica Pixel code

  • In the left menu, go to Code Snippets → Header & Footer.

  • Find the Header section.

  • Paste the following code into the field:

<!-- 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 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 Header section.

  • Check that all changes were saved.

  • Verify 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?