Allows to deny Google Analytics tracking code output on a page.
The event handler should return FALSE to stop LemonStand from injecting
Google Analytics tracking code to a page.
Usage example:
public function subscribeEvents()
{
Backend::$events->addEvent('cms:onBeforeTrackingCodeInclude', $this, 'before_tracking_code_include');
}
public function before_tracking_code_include($code)
{
// Perform some checks
if ($some_condition)
return false;
return true;
}