Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

segment_x

Given "x", any segment number, will return the value of that particular URL segment if it's present.

Example URL: /put/that/cookie/down

{{ segment_3 }}
{{ $segment_3 }}
cookie