public function doesIncludePluginTrackersAutomatically()
    {
        Piwik::checkUserHasSomeAdminAccess();

        try {
            $updater = StaticContainer::get('Piwik\Plugins\CustomPiwikJs\TrackerUpdater');
            $updater->checkWillSucceed();
            return true;
        } catch (AccessDeniedException $e) {
            return false;
        } catch (\Exception $e) {
            return false;
        }
    }
public function doesIncludePluginTrackersAutomatically()
    {
        Piwik::checkUserHasSomeAdminAccess();

        try {
            $updater = StaticContainer::get('Piwik\Plugins\CustomPiwikJs\TrackerUpdater');
            $updater->checkWillSucceed();
            return true;
        } catch (AccessDeniedException $e) {
            return false;
        } catch (\Exception $e) {
            return false;
        }
    }
public function doesIncludePluginTrackersAutomatically ( ) { Piwik :: checkUserHasSomeAdminAccess ( ) ; try { $ updater = StaticContainer :: get ( 'Piwik\Plugins\CustomPiwikJs\TrackerUpdater' ) ; $ updater -> checkWillSucceed ( ) ; return true ; } catch ( AccessDeniedException $ e ) { return false ; } catch ( \ Exception $ e ) { return false ; } }
Detects whether plugin trackers will be automatically added to piwik.js or not. If not, the plugin tracker files
need to be loaded manually.
@return bool
Detects whether plugin trackers will be automatically added to piwik . js or not . If not the plugin tracker files need to be loaded manually .