/** * Override __construct() to store whether or not we should be sending Analytics data * * @param bool $isSsl */ public function __construct($isSsl = false) { $this->shouldSendAnalytics = craft()->instantAnalytics->shouldSendAnalytics(); return parent::__construct($isSsl); }