The first time you access segmentation in Lumar, you’ll only have the option to create a new segment. Click on that link and you’ll be taken to the My Segments page. You can then click on the 'create segment' button in the top right corner of the screen. Please note that you can create a maximum of 100 segments for each project (you can see how many segments you have created just under the title on the My Segments page).
A segment must have:
- A name
- At least 1 rule defined
You can create segment rules with URLs and any other metric available in Lumar reports. You can also use RegEx validation (see below).
Give your segment a name, and add it to a group if relevant. If you've not set up any groups as yet, choose 'Create new group' and add it in.
You can then add in the rules that you would like the segment to follow. You can also use And/Or rules to get the exact segment you need.
Once you’ve entered the rules, you can preview the segment to see a list of URLs that will appear in the segment. Once you’re happy with the details and results, click ‘Create Segment’ and the new segment will be added to My Segment page.
Crawling and Segmentation
If you've not completed a crawl yet in the project, you'll need to run a crawl for the segments to finalize. To do this, click on ‘Project Settings’ in the top right corner to go to Step 4 in the crawl settings, and start the crawl. The segment will then generate once the new crawl has finished.
You can also create segments during the 'crawling' state and these will also be generated. Once a crawl is finalized, you can then add new segments as required and these will be created using the last crawl data.
RegEx Validation
If you choose “Matches (RegEx)” and “Doesn’t Match (Regx)” rules, please enter Lucene valid regular expressions. Use Rubular to help write valid regular expressions. Forward slashes do not need to be escaped.