Piwik\Plugins\ExampleTracker\Columns\ExampleConversionDimension::configureSegments PHP Method

configureSegments() protected method

By defining one or multiple segments a user will be able to filter their visitors by this column. For instance show all reports only considering users having more than 10 achievement points. If you do not want to define a segment for this dimension just remove the column.
protected configureSegments ( )
    protected function configureSegments()
    {
        $segment = new Segment();
        $segment->setSegment('myConversionSegmentName');
        $segment->setCategory('General_Visit');
        $segment->setName('ExampleTracker_DimensionName');
        $segment->setAcceptedValues('Here you should explain which values are accepted/useful: Any number, for instance 1, 2, 3 , 99');
        $this->addSegment($segment);
    }