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

Hi,
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:
https://developers.google.com/tag-manager/quickstart

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

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

Any idea how to install Google Tag Manager on OpenCart?

Thanks

Newbie

Posts

Joined
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.
https://www.opencart.com/index.php?rout ... load_id=47

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

Image
Take a close look at our domain pricing. It's cheaper than most of the 'big name' registrars.
Detailed guide on how to install Opencart


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA
Who is online

Users browsing this forum: No registered users and 3 guests