From 9c2f331f3a118793af6a8caeb297bfa1b7b25565 Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Wed, 21 Jan 2026 23:20:05 +0100 Subject: [PATCH] Add Google Tag Manager scripts to head and body templates --- themes/classic/templates/_partials/head.tpl | 7 +++++++ themes/classic/templates/layouts/layout-both-columns.tpl | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/themes/classic/templates/_partials/head.tpl b/themes/classic/templates/_partials/head.tpl index b0c3a56a..fa6ff227 100644 --- a/themes/classic/templates/_partials/head.tpl +++ b/themes/classic/templates/_partials/head.tpl @@ -109,4 +109,11 @@ s.parentNode.insertBefore(c,s); })(document); + + + {/literal} \ No newline at end of file diff --git a/themes/classic/templates/layouts/layout-both-columns.tpl b/themes/classic/templates/layouts/layout-both-columns.tpl index 0d5a9b16..8661449e 100644 --- a/themes/classic/templates/layouts/layout-both-columns.tpl +++ b/themes/classic/templates/layouts/layout-both-columns.tpl @@ -35,7 +35,9 @@ - + + + {block name='hook_after_body_opening_tag'} {hook h='displayAfterBodyOpeningTag'} {/block}