Route Participants With URL Parameters: Ask Each Segment Its Own Questions
How to pass a segment, panel cell or market in the interview link (or an imported list column) and ask each group its own questions in one Koji study.
To route interview participants with URL parameters in Koji, open a question, click Who's asked, add a condition, choose A URL parameter under From their study link, name the parameter (for example segment) and type the values that should get the question (for example agency). Then send each group its own link, such as ?segment=agency or ?segment=brand. People whose link carries a matching value are asked the question. Everyone else skips it without noticing, in text and voice interviews. If you invite people from an imported list instead of a link, add a segment column to the file and Koji reads the value from there.
This guide covers the full setup, how Koji matches values (it is stricter than most people expect), and worked examples for panel cells, CRM segments and client projects. It works on every plan, Free included.
When link parameters beat an earlier answer
Koji can decide who is asked a question in two ways. It can read an earlier answer in the same interview (a choice, a yes or no, a rating or a screening question), or it can read a value that arrives with the participant. Adaptive AI interview branching covers the first. This guide is about the second.
Use a link parameter when you already know something about the person before the interview starts:
- The panel cell they were assigned to. You bought sample in two cells and want each cell to react to a different concept.
- Their segment in your CRM. Paying customers, free users and churned accounts each get a module of their own.
- The client or market they belong to. An agency runs one study across three markets and asks market-specific questions.
- The channel they came from. People who arrived from your in-app banner get a question about the feature they just used.
Asking people to classify themselves costs a question, and self-reports drift. A finance lead might call themselves "operations". A customer on a pilot might say they pay. When the fact is already on record, passing it in the link is more accurate and saves the participant a question.
The approach is the same one survey tools call hidden fields or embedded data, and research teams have used it for years to route respondents from panels. The difference in Koji is what happens after the routing: every question the participant does get is asked by an AI interviewer that follows up on the answer.
Step by step: set up a link-parameter condition
Step 1: Write the question for one segment
Add the question to your study as usual. It can be any interview question, open-ended or structured. Only the question that is shown or skipped needs the condition, not the questions around it.
Step 2: Open Who's asked
Hover the question card and click Who's asked. A dialog titled Who's asked this question opens. Until you add a condition it reads "Everyone is asked this question."
Step 3: Choose A URL parameter
Under Conditions, open the picker ("Pick an earlier answer or a URL parameter"). Earlier answers are listed first. Below them, under From their study link, choose A URL parameter.
Step 4: Name the parameter
Type a name in Parameter name. The field shows a ? in front so you can see how it will look in the link. Names use lowercase letters, numbers and underscores: segment, cell, market, plan_type. Koji turns what you type into lowercase for you. If you pick a name Koji's own links already use, such as lang, it asks you to choose another.
Step 5: Add the values
Under Value, choose is one of (ask people with these values) or is not one of (ask everyone except people with these values). Type each value and press Enter. You can add several values to one condition: agency and consultancy both get the question.
As you type, the box underneath lists the Study links that get this question, for example ?segment=agency, each with a Copy button that copies the full study link with the parameter attached. With is not one of selected, the box lists the study links that skip the question instead.
Step 6: Check the plain-words summary and save
Before you save, Koji says in plain words who will be asked: "Koji asks this only to people whose link has segment set to agency. Everyone else skips it." Read it once. It is the quickest way to catch a typo in a value. Then click Save. The question card now shows a short line such as "Only asked if URL parameter segment is agency".
Step 7: Send each group its link
Paste the copied links into your panel order, email or CRM campaign, one link per group. That's all the participant sees: a normal interview link.
How Koji matches link values
The matching rules are simple, but each one has caught someone out. Here they are, with the table below as a quick reference.
- Case doesn't matter, spelling does.
?segment=Agencymatches the valueagency.?segment=agenciesdoes not. - Values are text, never numbers.
?seats=10matches the value10, but?seats=010does not, and a condition can't ask for "more than 100". If you need ranges, put the band in the link (?size=small,?size=mid) or ask a rating or choice question in the interview and branch on that. - A link without the parameter matches nothing. The value is fixed when the link is opened, so Koji treats a missing parameter as decided. An is one of condition skips the question. An is not one of condition asks it.
- What is on record wins. If a participant was imported with a
segmentvalue and later opens a link with a different one, Koji keeps the imported value. - Several conditions combine. At the top of the dialog choose all or any: "Only ask it if all of these are true". You can mix a link parameter with an earlier answer, for example
segmentisagencyand the participant rated onboarding lower than 3.

The missing-parameter rule matters most in practice. If you send one generic link to a newsletter and forget the parameter, every is one of question is skipped for those people. When a question should reach everyone except one group, use is not one of.
Using an imported list instead of links
If you invite people from a list rather than sharing a link, you don't need parameters in the URL at all. Add a column to your CSV whose header matches the parameter name, then import it from the participants page.
Koji turns each column header into a property name the same way: lowercase, with spaces and symbols replaced by underscores. A header Segment becomes segment, and Panel Cell becomes panel_cell. Name your condition to match. The import also creates a personal interview link for each person, so the value travels with them. See Importing Participants via CSV and Personalized Interview Links.

Worked examples
Panel cells for a monadic concept test
A market research team tests two packaging concepts. Each participant should see one concept only, so the reactions don't contaminate each other.
- Write the shared questions with no condition: category habits, current brand, what they look for.
- Add the concept A questions, each with cell is one of a. Attach the concept image to the first of them.
- Add the concept B questions with cell is one of b.
- Give the panel two links,
?cell=aand?cell=b, with half the sample on each.
The report then holds both cells in one study, with the shared questions comparable across them. Plan the sample per cell, not per study: a cell of 15 interviews is a cell of 15, however big the study is. How Many User Interviews Do You Need? has the numbers.
CRM segments in a churn and retention study
A SaaS team wants to hear from active customers and from accounts that cancelled in the last 60 days. Both groups answer the core questions about the job they hired the product for. Active customers then get a module about what would make them expand. Churned accounts get a module about the moment they decided to leave.
Export both lists from the CRM with a status column holding active or churned, import them, and set the two modules to status is one of active and status is one of churned. One discussion guide, one report, and the core answers sit side by side.
Client markets for an agency
An agency runs a brand study for one client in three markets. Most questions are the same, but each market has a local competitor to ask about. One study with ?market=de, ?market=fr and ?market=nl links replaces three copies of the same guide, and a change to a core question happens once.
What participants and you see
Participants never see the parameter or the rule. The interviewer is told never to mention skipped questions, so the conversation moves on as if the question was never in the guide. In your responses table, a skipped question shows a Skipped tag rather than a blank cell. Hover it to read why: "Not asked to this participant. Only asked if URL parameter segment is agency."
Because different people get different questions, the number of answers differs from question to question. Report each question's base size next to its result, and don't compare a module answered by 12 people with one answered by 40 as if they were equal.
Common mistakes
- Forgetting the parameter on one channel. Every link you send needs it, including the one in the reminder email.
- Inconsistent values.
smb,SMBandsmall-businessare not the same. Case is forgiven, the rest is not. Agree on a value list before you build the links. - Using a link value for a number range. Values are text. Pass a band, or branch on an interview question.
- Putting personal data in the link. A link can be forwarded. Use a segment name, never an email address or a customer name.
Related Resources
Related Articles
Adaptive AI Interviews: Branching Logic That Personalizes Every Question
How AI-moderated interviews replace static survey branching with dynamic, conversational follow-ups. A practical guide to designing adaptive interview flows with Koji.
Importing Participants via CSV
How to import a list of people from a CSV so each one gets a private invite link, and track who has responded.
Recruiting Participants from Koji's Panel
Recruit matched participants from Koji's panel when you do not have your own list: markets, targeting, pricing in credits, and soft launch.
Personalized Interview Links: Send Targeted Research Invitations to Every Participant
Give every imported participant a private Koji interview link that skips the lead form, ties their response to them, and lets you track and chase non-responders. Covers CSV import, distribution through your own tools, and tracking.
Skip Logic in Surveys: A Complete Guide to Branching, Conditional Logic, and Smarter Question Flow
Skip logic — also called branching logic — routes respondents past irrelevant questions based on what they've already said. Learn when to use it, how to design it, and why static surveys cost you up to 40% of your data quality.
Structured Questions in AI Interviews
Mix quantitative data collection — scales, ratings, multiple choice, ranking — with AI-powered conversational follow-up in a single interview.
Add an Image to a Question: Concept Tests and Timed Views
How to attach an image to an interview question in Koji, set a 3, 5, 10 or 15 second timed view for first-impression tests, and get follow-ups about what people saw.