New: Can add analytics code into demo page
This commit is contained in:
parent
c93f349213
commit
1799679a6b
@ -335,6 +335,7 @@ if (! empty($conf->global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN
|
||||
// Google Analytics (need Google module)
|
||||
if (! empty($conf->global->MAIN_GOOGLE_AN_ID))
|
||||
{
|
||||
print "\n";
|
||||
print '<script type="text/javascript">'."\n";
|
||||
print ' var _gaq = _gaq || [];'."\n";
|
||||
print ' _gaq.push([\'_setAccount\', \''.$conf->global->MAIN_GOOGLE_AN_ID.'\']);'."\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user