public setKeepURLFragmentsGlobal ( $enabled ) | ||
$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. |
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();
}