public function setKeepURLFragmentsGlobal($enabled)
    {
        Piwik::checkUserHasSuperUserAccess();

        // update option
        Option::set(self::OPTION_KEEP_URL_FRAGMENTS_GLOBAL, $enabled);

        // make sure tracker cache will reflect change
        Cache::deleteTrackerCache();
    }
public function setKeepURLFragmentsGlobal($enabled)
    {
        Piwik::checkUserHasSuperUserAccess();

        // update option
        Option::set(self::OPTION_KEEP_URL_FRAGMENTS_GLOBAL, $enabled);

        // make sure tracker cache will reflect change
        Cache::deleteTrackerCache();
    }
public function setKeepURLFragmentsGlobal ( $ enabled ) { Piwik :: checkUserHasSuperUserAccess ( ) ; // update option Option :: set ( self :: OPTION_KEEP_URL_FRAGMENTS_GLOBAL , $ enabled ) ; // make sure tracker cache will reflect change Cache :: deleteTrackerCache ( ) ; }
Sets whether the default behavior should be to keep URL fragments when
tracking or not.

@param $enabled bool If true, the default behavior will be to keep URL
fragments when tracking. If false, the default
behavior will be to remove them.
Sets whether the default behavior should be to keep URL fragments when tracking or not .