Google Tracking Code - Question | JoomShaper

Google Tracking Code

G

Geoff

General 2 years ago

Using the "Floox" template with Helix3 Framework 2.5.8 on Joomla 3.9.27.

Our digital agency has asked to insert tracking code on specific pages prior to the closing 'head' tag, i.e.

</head>

What is the best way to do this with the current set up?

Hoping not to customise the template, so we don't lose the customisations after an update.

Thanks, Geoff

0
2 Answers
Pavel
Pavel
Accepted Answer
2 years ago #26896

Hi. You can insert the code in the template settings Custom Code > Before </head> Field. But this in any case will not be what GTM doc recommends. The best decision https://extensions.joomla.org/extension/google-tag-manager/ This inserts the code in two places. - after <head> and after <body>

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #26901

Hi, In many cases I used decidated GA plugin or Phoca Site plugin (free) that allows you to insert any code in < head > area.

Yes, it's so easy.

0