Skip to content

Segments FAQ

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.

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.

No. Coverage reads content facts only. Segments, experiments, meters and user facts are for rules in a feature’s canvases.

edgekit.ai