示例#1
0
 protected function configureSegments()
 {
     $segment = new Segment();
     $segment->setSegment('referrerKeyword');
     $segment->setName('General_ColumnKeyword');
     $segment->setAcceptedValues('Encoded%20Keyword, keyword');
     $this->addSegment($segment);
 }
示例#2
0
 protected function configureSegments()
 {
     $segment = new Segment();
     $segment->setSegment('referrerUrl');
     $segment->setName('Live_Referrer_URL');
     $segment->setAcceptedValues('http%3A%2F%2Fwww.example.org%2Freferer-page.htm');
     $this->addSegment($segment);
 }
示例#3
0
 protected function configureSegments()
 {
     $segment = new Segment();
     $segment->setSegment('referrerName');
     $segment->setName('Referrers_ReferrerName');
     $segment->setAcceptedValues('twitter.com, www.facebook.com, Bing, Google, Yahoo, CampaignName');
     $this->addSegment($segment);
 }
示例#4
0
 protected function configureSegments()
 {
     $segment = new Segment();
     $segment->setSegment('referrerType');
     $segment->setName('Referrers_Type');
     $segment->setSqlFilterValue('Piwik\\Plugins\\Referrers\\getReferrerTypeFromShortName');
     $segment->setAcceptedValues('direct, search, website, campaign');
     $this->addSegment($segment);
 }