Post by bg17aw » Tue Jul 21, 2020 3:51 pm

Google says there are two different code snippets that need to be installed for Google Tag Manager, one in the HEAD section of the site, one in the BODY section:

I am trying to use the included Google Analytics extension (that comes with OpenCart

However, you can only add code to the HEAD section from there.

Any idea how to install Google Tag Manager on OpenCart?




Thu Jan 19, 2017 2:44 am

Post by EvolveWebHosting » Tue Aug 04, 2020 12:59 am

You could use an extension like this if you don't want to alter the Opencart code yourself. ... load_id=47

Otherwise, you'd need to edit the header.tpl or header.twig file of your theme to add the suggest code.

50% Off SSD Shared Hosting w/ cPanel
Detailed guide on how to install Opencart

User avatar
Active Member


Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by mikahawkins » Sat Oct 10, 2020 1:53 pm

You can try this.
1.Create an account, or use an existing account, at (A new container is created by default, and you can create additional containers within each account.)
2.Install the container in your website or mobile app.
3.Add and publish your tags.
Mika Hawkins



Fri Sep 18, 2020 2:54 pm

Post by JNeuhoff » Sat Oct 10, 2020 4:38 pm

The Google Tag Manager uses a data layer for tracking various standard ecommerce activities, therefore requires modifications of various OpenCart files to get it to work. We have an GTM OpenCart extension for this which gives support for the enhanced ecommerce tracking events.

Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus

User avatar
Expert Member


Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 1 guest