📘 This provides examples of segments you can define in your project segmentation in Botify.
Overview
The following examples can help you get started with creating your project segmentation. You can copy and paste these examples directly into the Segment Editor.
Product Pages
The naming convention @pagetype is important for segmentation because it unlocks functionality throughout Botify. The pagetype segment group should organize your site’s URLs by page template.
[segment:pagetype]
@home
path /
@error
path /error
flag warning
Parameters
Segmenting your pages with parameters is vital to identifying duplicate content and crawl budget issues.
[segment:parameters]
@parameters/gclid
query gclid*
@parameters/others
URL *?*
@clean
URL not *?*
Tracking Parameters
This example segments tracking parameters:
[segment:parameters]
@TrackingParameter
query *from=*
Resources
Identifying your resources in a segment reveals how bots crawl your resources in LogAnalyzer.
[segment:internal_static]
@true
or (
path /algolia-*
path */v1/*
path */v2/*
path */v3/*
path */v4/*
path */api/*
path *.otf
path *.bmp
path *.css
path *.doc
path *.gif
path *.ief
path *.ico
path *.jpe
path *.jpeg
path *.jpg
path *.js
path *.jsp
path *.json
path *.m1v
path *.mov
path *.mp2
path *.mp3
path *.mp4
path *.mpa
path *.mpe
path *.mpeg
path *.mpg
path *.pbm
path *.pdf
path *.pgm
path *.png
path *.pnm
path *.ppm
path *.pps
path *.ppt
path *.ps
path *.qt
path *.ras
path *.rgb
path *.swf
path *.svg
path *.tif
path *.tiff
path *.tff
path *.ttf
path *.tsv
path *.txt
path *.vcf
path *.wav
path *.woff*
path *.xbm
path *.xls
path *.xml
path *.xpdl
path *.xpm
path *.xwd
)
Top URLs
To create a segment of the most important URLs by which you want to filter, use the following syntax:
[segment:Top-URLs]
@Top-URLs
OR (
URL https://www.domain.com/page_1
URL https://www.domain.com/page_2
URL https://www.domain.com/page_3
URL https://www.domain.com/page_4
URL https://www.domain.com/page_5
)
SpeedWorkers
If you have the SpeedWorkers option in your Botify plan, we recommend a segmentation that mirrors your project’s cache behavior logic for reporting continuity.
[segment:SpeedWorkers]
@CacheBehavior
path /*
See also: