diff --git a/bl-plugins/google/plugin.php b/bl-plugins/google/plugin.php index 1ac7ce82..124ac535 100644 --- a/bl-plugins/google/plugin.php +++ b/bl-plugins/google/plugin.php @@ -60,6 +60,20 @@ class pluginGoogle extends Plugin { $html .= "".PHP_EOL; } + // Google Analytics + if ($this->getValue('google-analytics-tracking-id')) { + $html = PHP_EOL.''.PHP_EOL; + $html .= ' + + '.PHP_EOL; + } + return $html; } @@ -75,22 +89,4 @@ class pluginGoogle extends Plugin { return false; } - public function siteBodyEnd() - { - // Google Analytics - if ($this->getValue('google-analytics-tracking-id')) { - $html = PHP_EOL.''.PHP_EOL; - $html .= ' - - '.PHP_EOL; - return $html; - } - return false; - } } \ No newline at end of file