public static function getCampaignParameters()
    {
        $return = array(
            Config::getInstance()->Tracker['campaign_var_name'],
            Config::getInstance()->Tracker['campaign_keyword_var_name'],
        );

        foreach ($return as &$list) {
            if (strpos($list, ',') !== false) {
                $list = explode(',', $list);
            } else {
                $list = array($list);
            }
            $list = array_map('trim', $list);
        }

        return $return;
    }
public static function getCampaignParameters()
    {
        $return = array(
            Config::getInstance()->Tracker['campaign_var_name'],
            Config::getInstance()->Tracker['campaign_keyword_var_name'],
        );

        foreach ($return as &$list) {
            if (strpos($list, ',') !== false) {
                $list = explode(',', $list);
            } else {
                $list = array($list);
            }
            $list = array_map('trim', $list);
        }

        return $return;
    }
public static function getCampaignParameters ( ) { $ return = array ( Config :: getInstance ( ) -> Tracker [ 'campaign_var_name' ] , Config :: getInstance ( ) -> Tracker [ 'campaign_keyword_var_name' ] , ) ; foreach ( $ return as & $ list ) { if ( strpos ( $ list , ',' ) !== false ) { $ list = explode ( ',' , $ list ) ; } else { $ list = array ( $ list ) ; } $ list = array_map ( 'trim' , $ list ) ; } return $ return ; }
Returns the list of Campaign parameter names that will be read to classify
a visit as coming from a Campaign

@return array array(
0 => array( ... ) // campaign names parameters
1 => array( ... ) // campaign keyword parameters
);
Returns the list of Campaign parameter names that will be read to classify a visit as coming from a Campaign