Segments allow you to create logical groupings of your pages based on your needs, which you can then use to make your reporting more effective and to customize the auditing suite.
ContentKing comes with two default segments: indexable pages and non-indexable pages, but you’re fully in control to create your own custom segments based on any filter criterion you want.
Segments are dynamic
Segments are dynamic, which means that when pages start matching the underlying filter criteria they will automatically be placed in the segment. Conversely, pages that stop matching the filter criteria will be removed from the segment.
For example, let’s say you create a segment for pages within the
/blog/ URL directory called “Blog articles”. Now whenever you publish a new blog article it will be automatically included in this segment.
You are completely free to segment on any criterion you want, but here are some examples to get you started:
- Main categories / topics
Perhaps a no-brainer, but creating segments around your main categories or topics is a great way to leverage the power of segments.
- Recently added pages
Filter on “less than 7 days ago” in the Discovered-column and create a segment for this.
- High performers
Connect with Google Analytics or Google Search Console and filter on pages with at least X number of clicks or page views, or any other performance metric.
- Slow pages
Filter on “more than 600ms” in the Page speed-column.
Segments are created on the Pages screen in three easy steps:
- Set the filter criteria to match your needs for the segment
- Open the blue Active Filters toolbar
- Click on the Create new segment button
Now all the pages matching the filter criteria you defined are placed in this segment. Also any page that starts matching these criteria in the future will be added to the segment.
Using segments for filtering
Now that we’ve created our first custom segment we can filter on it, and even combine it with other segments:
- Open the Segments filter
- Drag and drop the newly created segment from the Segments container to the Included in container
- Do the same with the default Indexable segment
Now you will only see pages that are in both segments.
Want to see pages that are in either one segment? Then toggle the AND/OR button to OR.
Or what about pages that are in one segment but NOT in the other? Simple: just drag the segment you want to exclude to the And not included in container.
You can edit segments at any time from the Pages screen. Click on Edit segments in the Segments column and select the segment you want to edit.
On the left of the screen you can add or remove filter criteria and on the right you can set the filter values. All the way at the top you’ll find the Edit details button which you can use to change the name, short code or color of the segment. Once done simply click the Save updates button!
You can delete any segment you want from the same screen as where you edit segments. So start from the Pages screen, click on Edit segments in the Segments column and select the segment you want to delete.
Now click on the garbage bin button in the top right corner, enter the segment name to confirm and click on the Delete segment button.