From c93f349213eb5bd7d225b3e8cc85bd885ecf0d41 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 20 Feb 2011 16:35:35 +0000 Subject: [PATCH] Add Google analytics tags into demo --- htdocs/public/demo/index.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php index 792a972da37..e69473282d0 100644 --- a/htdocs/public/demo/index.php +++ b/htdocs/public/demo/index.php @@ -315,7 +315,7 @@ print ''; $db->close(); -// Google Adsense (ex: demo mode) +// Google Adsense (need Google module) if (! empty($conf->global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN_GOOGLE_AD_SLOT)) { print '
'."\n"; @@ -332,6 +332,23 @@ if (! empty($conf->global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN print '
'."\n"; } +// Google Analytics (need Google module) +if (! empty($conf->global->MAIN_GOOGLE_AN_ID)) +{ + print ''."\n"; +} + + llxFooterVierge('$Date$ - $Revision$');