From 19f88c253a2b1041bab24d5bce260abffa9b1612 Mon Sep 17 00:00:00 2001 From: spiderr Date: Sun, 27 Aug 2023 15:24:40 -0400 Subject: add support for google_tagmanager_id and google_adwordstag_id --- templates/html_head_inc.tpl | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl index 4d60112..361feac 100644 --- a/templates/html_head_inc.tpl +++ b/templates/html_head_inc.tpl @@ -2,7 +2,29 @@ {* Google analytics setup *} {if $gBitSystem->isTracking()} - {* **** GOOGLE ANALYTICS **** *} + {* **** GOOGLE TAG MANAGER **** *} + {if $gBitSystem->getConfig('google_tagmanager_id')} +{literal} + + + + {/if} + + {* **** GOOGLE ADWORDS **** *} + {if $gBitSystem->getConfig('google_adwordstag_id')} + + + +{/literal} + {/if} + + {* **** GOOGLE UNIVERSAL ANALYTICS **** *} + {if $gBitSystem->getConfig('analytics_google_ua')}