original_string: public static function getQueryParametersToExclude($idSite)
      {
          $campaignTrackingParameters = Common::getCampaignParameters();
  
          $campaignTrackingParameters = array_merge(
              $campaignTrackingParameters[0], // campaign name parameters
              $campaignTrackingParameters[1] // campaign keyword parameters
          );
  
          $website = Cache::getCacheWebsiteAttributes($idSite);
          $excludedParameters = self::getExcludedParametersFromWebsite($website);
  
          $parametersToExclude = array_merge($excludedParameters,
                                             self::getUrlParameterNamesToExcludeFromUrl(),
                                             $campaignTrackingParameters);
  
          /**
           * Triggered before setting the action url in Piwik\Tracker\Action so plugins can register
           * parameters to be excluded from the tracking URL (e.g. campaign parameters).
           *
           * @param array &$parametersToExclude An array of parameters to exclude from the tracking url.
           */
          Piwik::postEvent('Tracker.PageUrl.getQueryParametersToExclude', array(&$parametersToExclude));
  
          if (!empty($parametersToExclude)) {
              Common::printDebug('Excluding parameters "' . implode(',', $parametersToExclude) . '" from URL');
          }
  
          $parametersToExclude = array_map('strtolower', $parametersToExclude);
          return $parametersToExclude;
      }
code: public static function getQueryParametersToExclude($idSite)
      {
          $campaignTrackingParameters = Common::getCampaignParameters();
  
          $campaignTrackingParameters = array_merge(
              $campaignTrackingParameters[0], // campaign name parameters
              $campaignTrackingParameters[1] // campaign keyword parameters
          );
  
          $website = Cache::getCacheWebsiteAttributes($idSite);
          $excludedParameters = self::getExcludedParametersFromWebsite($website);
  
          $parametersToExclude = array_merge($excludedParameters,
                                             self::getUrlParameterNamesToExcludeFromUrl(),
                                             $campaignTrackingParameters);
  
          /**
           * Triggered before setting the action url in Piwik\Tracker\Action so plugins can register
           * parameters to be excluded from the tracking URL (e.g. campaign parameters).
           *
           * @param array &$parametersToExclude An array of parameters to exclude from the tracking url.
           */
          Piwik::postEvent('Tracker.PageUrl.getQueryParametersToExclude', array(&$parametersToExclude));
  
          if (!empty($parametersToExclude)) {
              Common::printDebug('Excluding parameters "' . implode(',', $parametersToExclude) . '" from URL');
          }
  
          $parametersToExclude = array_map('strtolower', $parametersToExclude);
          return $parametersToExclude;
      }
code_tokens: public static function getQueryParametersToExclude ( $ idSite ) { $ campaignTrackingParameters = Common :: getCampaignParameters ( ) ; $ campaignTrackingParameters = array_merge ( $ campaignTrackingParameters [ 0 ] , // campaign name parameters $ campaignTrackingParameters [ 1 ] // campaign keyword parameters ) ; $ website = Cache :: getCacheWebsiteAttributes ( $ idSite ) ; $ excludedParameters = self :: getExcludedParametersFromWebsite ( $ website ) ; $ parametersToExclude = array_merge ( $ excludedParameters , self :: getUrlParameterNamesToExcludeFromUrl ( ) , $ campaignTrackingParameters ) ; /**
           * Triggered before setting the action url in Piwik\Tracker\Action so plugins can register
           * parameters to be excluded from the tracking URL (e.g. campaign parameters).
           *
           * @param array &$parametersToExclude An array of parameters to exclude from the tracking url.
           */ Piwik :: postEvent ( 'Tracker.PageUrl.getQueryParametersToExclude' , array ( & $ parametersToExclude ) ) ; if ( ! empty ( $ parametersToExclude ) ) { Common :: printDebug ( 'Excluding parameters "' . implode ( ',' , $ parametersToExclude ) . '" from URL' ) ; } $ parametersToExclude = array_map ( 'strtolower' , $ parametersToExclude ) ; return $ parametersToExclude ; }
docstring: Returns the array of parameters names that must be excluded from the Query String in all tracked URLs
  @static
  @param $idSite
  @return array
docstring_tokens: Returns the array of parameters names that must be excluded from the Query String in all tracked URLs