{"site":{"name":"Koji","description":"AI-native customer research platform that helps teams conduct, analyze, and synthesize customer interviews at scale.","url":"https://www.koji.so","contentTypes":["blog","documentation"],"lastUpdated":"2026-12-02T05:57:29.691Z"},"content":[{"type":"documentation","id":"89280f6c-8ca0-4f8c-a297-08bb1dedad83","slug":"route-interview-participants-url-parameters","title":"Route Participants With URL Parameters: Ask Each Segment Its Own Questions","url":"https://www.koji.so/docs/route-interview-participants-url-parameters","summary":"In Koji, any interview question can be shown only to people whose study link carries a value. Click Who's asked on the question, add a condition, choose A URL parameter under From their study link, name it (lowercase letters, numbers or underscores, such as segment) and add values with is one of or is not one of. Send each group its link, such as ?segment=agency. Matching ignores case but compares text exactly, never as numbers. A link without the parameter matches no value, so is one of questions are skipped and is not one of questions are asked. A column with the same name in an imported list works the same way, and an imported value wins over the link. Conditions can be combined with all or any and mixed with earlier answers. Participants never hear about skipped questions, and the responses table marks them Skipped. Works on every plan in text and voice interviews.","content":"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.\n\nThis 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.\n\n## When link parameters beat an earlier answer\n\nKoji 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](/docs/adaptive-ai-interview-branching) covers the first. This guide is about the second.\n\nUse a link parameter when you already know something about the person before the interview starts:\n\n- **The panel cell they were assigned to.** You bought sample in two cells and want each cell to react to a different concept.\n- **Their segment in your CRM.** Paying customers, free users and churned accounts each get a module of their own.\n- **The client or market they belong to.** An agency runs one study across three markets and asks market-specific questions.\n- **The channel they came from.** People who arrived from your in-app banner get a question about the feature they just used.\n\nAsking 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.\n\nThe 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.\n\n## Step by step: set up a link-parameter condition\n\n### Step 1: Write the question for one segment\n\nAdd 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.\n\n### Step 2: Open Who's asked\n\nHover 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.\"\n\n### Step 3: Choose A URL parameter\n\nUnder **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**.\n\n### Step 4: Name the parameter\n\nType 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.\n\n### Step 5: Add the values\n\nUnder **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.\n\nAs 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.\n\n### Step 6: Check the plain-words summary and save\n\nBefore 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\".\n\n### Step 7: Send each group its link\n\nPaste 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.\n\n## How Koji matches link values\n\nThe matching rules are simple, but each one has caught someone out. Here they are, with the table below as a quick reference.\n\n- **Case doesn't matter, spelling does.** `?segment=Agency` matches the value `agency`. `?segment=agencies` does not.\n- **Values are text, never numbers.** `?seats=10` matches the value `10`, but `?seats=010` does 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.\n- **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.\n- **What is on record wins.** If a participant was imported with a `segment` value and later opens a link with a different one, Koji keeps the imported value.\n- **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 `segment` is `agency` and the participant rated onboarding lower than 3.\n\n![Table showing how Koji matches link values: case is ignored, spelling and text must match, a missing parameter matches nothing](/visuals/how-koji-matches-interview-link-parameters/how-koji-matches-interview-link-parameters.png \"Check your links against these rules before you send them\")\n\nThe 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**.\n\n## Using an imported list instead of links\n\nIf 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.\n\nKoji 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](/docs/importing-participants-csv) and [Personalized Interview Links](/docs/personalized-interview-links).\n\n![Koji CSV import dialog creating personalised interview links for three respondents](/email/shots/shot-csv-import.jpg \"Each imported column becomes a property that a condition can read\")\n\n## Worked examples\n\n### Panel cells for a monadic concept test\n\nA market research team tests two packaging concepts. Each participant should see one concept only, so the reactions don't contaminate each other.\n\n1. Write the shared questions with no condition: category habits, current brand, what they look for.\n2. Add the concept A questions, each with **cell is one of a**. Attach the concept image to the first of them.\n3. Add the concept B questions with **cell is one of b**.\n4. Give the panel two links, `?cell=a` and `?cell=b`, with half the sample on each.\n\nThe 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?](/docs/how-many-user-interviews) has the numbers.\n\n### CRM segments in a churn and retention study\n\nA 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.\n\nExport 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.\n\n### Client markets for an agency\n\nAn 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.\n\n## What participants and you see\n\nParticipants 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.\"\n\nBecause 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.\n\n## Common mistakes\n\n- **Forgetting the parameter on one channel.** Every link you send needs it, including the one in the reminder email.\n- **Inconsistent values.** `smb`, `SMB` and `small-business` are not the same. Case is forgiven, the rest is not. Agree on a value list before you build the links.\n- **Using a link value for a number range.** Values are text. Pass a band, or branch on an interview question.\n- **Putting personal data in the link.** A link can be forwarded. Use a segment name, never an email address or a customer name.\n\n## Related Resources\n\n- [Structured Questions in AI Interviews](/docs/structured-questions-guide)\n- [Adaptive AI Interviews: Branching Logic That Personalizes Every Question](/docs/adaptive-ai-interview-branching)\n- [Personalized Interview Links](/docs/personalized-interview-links)\n- [Importing Participants via CSV](/docs/importing-participants-csv)\n- [Skip Logic in Surveys](/docs/skip-logic-surveys-guide)\n- [Recruiting Participants from Koji's Panel](/docs/panel-recruitment)","category":"Reports & Analysis","lastModified":"2026-12-02T05:13:04.362883+00:00","metaTitle":"Route Interview Participants With URL Parameters | Koji","metaDescription":"Send ?segment=agency or ?cell=a links and Koji asks each group its own questions in one study. Setup steps, matching rules and examples for panels and CRM lists.","keywords":["route interview participants with url parameters","url parameters hidden fields interview","pass segment in interview link","link parameter question logic","panel cell routing","monadic concept test cells"],"aiSummary":"In Koji, any interview question can be shown only to people whose study link carries a value. Click Who's asked on the question, add a condition, choose A URL parameter under From their study link, name it (lowercase letters, numbers or underscores, such as segment) and add values with is one of or is not one of. Send each group its link, such as ?segment=agency. Matching ignores case but compares text exactly, never as numbers. A link without the parameter matches no value, so is one of questions are skipped and is not one of questions are asked. A column with the same name in an imported list works the same way, and an imported value wins over the link. Conditions can be combined with all or any and mixed with earlier answers. Participants never hear about skipped questions, and the responses table marks them Skipped. Works on every plan in text and voice interviews.","aiPrerequisites":["A Koji study with interview questions","A list of the segments or cells you want to route"],"aiLearningOutcomes":["Set a question to show only for a URL parameter value","Build one link per segment, panel cell or market","Predict how Koji matches case, spelling, numbers and missing values","Route on a column in an imported participant list","Read skipped questions and base sizes in results"],"aiDifficulty":"intermediate","aiEstimatedTime":"10 minutes"}],"pagination":{"total":1,"returned":1,"offset":0}}