It looks like you're new here. If you want to get involved, click one of these buttons!
$DoNotInsertOn = array('DashboardController',
'SettingsController',
'PluginsController',
'ImportController',
'MessageController',
'RoleController',
'RoutesController',
'SetupController',
'UserController',
'AuthenticationController',
'UtilityController');
if (InArrayI($Sender->ControllerName, $DoNotInsertOn)) return;
$Configuration['Plugins']['Analytics']['UA'] = 'UA-000000-0';changed line in the plugin:
$WebId = C('Plugins.Analytics.UA');
Comments
http://www.vanilla-wiki.info/Plugins/Analitics
I'm using such trick instead of checking controllers: update:
You got typo: PluginsController => PluginController