Skip to main content

OpenCart

Learn how to install the Tanganica Pixel on OpenCart. This article explains how to use a Custom HTML extension to add the code, enable it, and verify that the Pixel is working correctly.

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

1. Install an extension for custom code

You can easily add the Pixel using a Custom HTML Head/Footer extension.

  • Log in to your OpenCart admin.

  • In the left menu, go to Extensions → Marketplace.

  • Search for Custom HTML Head/Footer.

  • Select an extension, click Download, then Install.

2. Activate the extension

  • In the left menu, go to Extensions → Extensions.

  • Find Custom HTML Head/Footer in the list of installed extensions.

  • Click Edit.

  • Set the module to Enabled.

  • Save changes.

3. Add the Tanganica Pixel code

  • Open the extension settings.

  • Find the Head section.

  • 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 for typos or invalid characters in the code.

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