From 185d933bd1ce2baba697d35004e0ffa3bb203045 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 27 Feb 2026 04:07:11 +0000 Subject: [PATCH] Add Google Tag Manager and Analytics to component.php and offline.php Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com> --- src/templates/component.php | 5 ---- src/templates/offline.php | 53 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 5 deletions(-) diff --git a/src/templates/component.php b/src/templates/component.php index 7f2a9f2..33f38d9 100644 --- a/src/templates/component.php +++ b/src/templates/component.php @@ -45,11 +45,6 @@ $params_custom_head_start = $this->params->get('custom_head_start', null); $params_custom_head_end = $this->params->get('custom_head_end', null); $params_developmentmode = $this->params->get('developmentmode', false); -$params_googletagmanager = $this->params->get('googletagmanager', false); -$params_googletagmanagerid = $this->params->get('googletagmanagerid', null); -$params_googleanalytics = $this->params->get('googleanalytics', false); -$params_googleanalyticsid = $this->params->get('googleanalyticsid', null); - // Detecting Active Variables $option = $input->getCmd('option', ''); $view = $input->getCmd('view', ''); diff --git a/src/templates/offline.php b/src/templates/offline.php index da471a6..00f7f03 100644 --- a/src/templates/offline.php +++ b/src/templates/offline.php @@ -163,6 +163,59 @@ if (class_exists('\Joomla\Component\Users\Site\Helper\RouteHelper')) { + + + + + + + + + + + + + + + + +