Segments FAQ
Is a segment a stored list of users?
Section titled “Is a segment a stored list of users?”No. A segment is a test, evaluated again on every request each time something names it. EdgeKit stores no member list for it and no count, so there is nothing to export.
Can I gate access on a segment that reads a value my page sends?
Section titled “Can I gate access on a segment that reads a value my page sends?”You can, but anyone can set that value. A value your page sends in context is unverified, so the segment’s trust
floor is unverified, and a rule that opens your content on it is a way around your own access rules. Staging
warns about every context read and does not refuse it.
Why can’t a canvas entry use my segment?
Section titled “Why can’t a canvas entry use my segment?”The segment reads a meter or an experiment arm, directly or through another segment. An entry decides who a canvas is for, and a meter count or an arm is a consequence of that decision. Staging refuses the feature, not the segment. Name the segment in a rule inside the canvas instead.
What happens if a segment names itself?
Section titled “What happens if a segment names itself?”At decide time the test answers an error on every request, never a match. The segment’s screen flags a segment that names itself, but staging does not refuse it, and nothing flags a loop through other segments. In a rule inside the entered canvas, the error answers the canvas’s error outcome when no other rule holds.
When does a change to a segment take effect?
Section titled “When does a change to a segment take effect?”At the next deploy, for every rule that names it. The segment’s Used by section lists the features and segments that name it.
Can a product’s coverage use a segment?
Section titled “Can a product’s coverage use a segment?”No. Coverage reads content facts only. Segments, experiments, meters and user facts are for rules in a feature’s canvases.