Skip to content
Open fromusers

Page targeting

In-product surveys

Page targeting decides which pages and devices are eligible for an in-product survey. Triggers then decide the moment it appears.

In-product survey Distribute tab with page targeting rules

RuleMatches when
ContainsThe URL includes a string you specify
EqualsThe URL matches exactly
Starts withThe URL begins with your string
RegexThe URL matches a regular expression
ParamsQuery parameters meet your conditions

Combine rules carefully. Overly broad contains rules can show surveys on unexpected pages.

  • Limit to desktop, tablet, and/or mobile.
  • Set traffic percentage to sample a portion of eligible visitors (for example, 10% on a busy homepage).
  1. Open the in-product survey.
  2. Open targeting settings.
  3. Add URL rules for include paths.
  4. Add exclusions if your UI supports exclude rules for sensitive pages (billing, login) when available in your builder.
  5. Choose devices.
  6. Set traffic percentage if you are sampling.
  7. Save and test on staging.
GoalTargeting idea
Single thank-you pageURL equals the full success URL
Entire docs sectionURL starts with /docs
Any pricing localeURL contains /pricing
Complex app routesRegex for nested IDs (test thoroughly)
Campaign landing onlyParams for utm_campaign

Never document raw app editor routes in your survey copy. Describe pages the way users see them.

  1. Use a staging website.
  2. Start with traffic percentage at 100% on staging.
  3. Open matching and non-matching URLs.
  4. Confirm the survey does not appear on account or payment flows you intend to exclude.
  5. Lower traffic percentage before production launch if needed.

URL targeting answers “which page?” Audience rules answer “which user?” See Audience and dynamic values.

  • Client-side URL changes in SPAs need verification after navigation.
  • Regex mistakes cause silent mismatches. Prefer simpler rules when possible.
  • Targeting alone never shows a survey if frequency caps or quarantine block the visitor.

Common questions

Which URL match should I use?

Use equals for exact pages, starts with for a section, contains for flexible matching, regex for advanced patterns, and params for query string conditions.

What does traffic percentage do?

It shows the survey only to a percentage of eligible visitors so you can sample instead of asking everyone.

Do targeting rules replace triggers?

No. Targeting decides where a survey is eligible. Triggers decide when it appears on an eligible page.