{"id":28279,"date":"2026-03-18T15:50:36","date_gmt":"2026-03-18T15:50:36","guid":{"rendered":"https:\/\/refiner.io\/docs\/?post_type=knowledgebase&#038;p=28279"},"modified":"2026-03-19T21:34:17","modified_gmt":"2026-03-19T21:34:17","slug":"restrict-location","status":"publish","type":"knowledgebase","link":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/","title":{"rendered":"Location Constraints"},"content":{"rendered":"\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>A simple yet effective method to fine tune the survey experience of your users is to make sure that in-app surveys are only shown on specific areas or your application.<\/p>\n\n\n\n<p>Restricting the location of a survey is especially useful when you are using our <a href=\"https:\/\/refiner.io\/docs\/kb\/in-product-surveys\/follow-up-mode\/\">Follow-Up Mode<\/a> or <a href=\"https:\/\/refiner.io\/docs\/kb\/in-product-surveys\/recurring-surveys\/\">Recurring Surveys<\/a>. In both cases, subsequent survey views might occur on pages that are not in the scope of the original survey trigger. <\/p>\n\n\n\n<p><em>Please note: Restricting the location of a survey works independently from our <a href=\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/launch-trigger\/#page-visit\">Page Visit<\/a> and <a href=\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/launch-trigger\/#page-visit-mobile\">Screen Visit<\/a> launch trigger. You can think about the location restriction option as a final check before the survey gets shown to the user. No matter what event triggered the survey.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Allow &amp; exclude web pages<\/h2>\n\n\n\n<p>You can either define a set of &#8220;Allowed Pages&#8221;, or a set of &#8220;Excluded Pages&#8221;. You can also combine the two options to make the targeting even more precise. <\/p>\n\n\n\n<p>For Mobile SDK surveys, we refer to &#8220;Screens&#8221; instead of &#8220;Pages&#8221;. All other things stay the same though.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"915\" height=\"444\" src=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png\" alt=\"\" class=\"wp-image-21957\" srcset=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png 915w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54-300x146.png 300w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54-768x373.png 768w\" sizes=\"auto, (max-width: 915px) 100vw, 915px\" \/><\/figure><\/div>\n\n\n<p>Each rule has a comparison method followed by a comparison value. The supported comparison methods are:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>Method<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example Value<\/strong><\/td><\/tr><tr><td><em>Equals<\/em><\/td><td>Triggers on pages where the full URL equals exactly the provided value.<\/td><td>https:\/\/app.domain.com\/account\/billing<\/td><\/tr><tr><td><em>Starts with<\/em><\/td><td>Triggers on all URLs that start with the provided value.<\/td><td>https:\/\/app.domain.com\/account<\/td><\/tr><tr><td><em>Contains<\/em><\/td><td>Triggers when the provided value is located somewhere in the page URL.<\/td><td>\/account\/<\/td><\/tr><tr><td><em>Matches Pattern<\/em><\/td><td>Triggers on URLs that match a provided wildcard pattern. You can use * to indicate that variable parts of a URL.<\/td><td>https:\/\/app.domain.com\/*\/something\/*<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>When you add multiple rules, a match occurs when at least one rule returns a positive result.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Allow &amp; exclude app screens<\/h2>\n\n\n\n<p>To show surveys on in certain areas of your mobile app, you&#8217;ll need to transmit the current screen name to Refiner using the &#8220;<a href=\"https:\/\/refiner.io\/docs\/kb\/mobile-sdk\/mobile-sdk-reference\/#track-screen\">trackScreen<\/a>&#8221; method of our SDKs.<\/p>\n\n\n\n<p>You can either define a set of &#8220;Allowed Screens&#8221;, or a set of &#8220;Excluded Screens&#8221;. You can also combine the two options to make the targeting even more precise. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1836\" height=\"1140\" src=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-02-at-17.15.29.png\" alt=\"\" class=\"wp-image-25698\" srcset=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-02-at-17.15.29.png 1836w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-02-at-17.15.29-800x497.png 800w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-02-at-17.15.29-1024x636.png 1024w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-02-at-17.15.29-768x477.png 768w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-02-at-17.15.29-1536x954.png 1536w\" sizes=\"auto, (max-width: 1836px) 100vw, 1836px\" \/><\/figure><\/div>\n\n\n<p>Each rule has a comparison method followed by a comparison value. The supported comparison methods are:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>Method<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example Value<\/strong><\/td><\/tr><tr><td><em>Equals<\/em><\/td><td>Triggers when the screen name equals exactly the provided value.<\/td><td>CheckoutSuccessScreen<\/td><\/tr><tr><td><em>Starts with<\/em><\/td><td>Triggers on all screens that start with the provided value.<\/td><td>Checkout<\/td><\/tr><tr><td><em>Contains<\/em><\/td><td>Triggers when the provided value is located somewhere in the screen name.<\/td><td>Success<\/td><\/tr><tr><td><em>Matches Pattern<\/em><\/td><td>Triggers on screens that match a provided wildcard pattern. You can use * to indicate that variable parts of a screen name.<\/td><td>Checkout*Screen<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>When you add multiple rules, a match occurs when at least one rule returns a positive result.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction A simple yet effective method to fine tune the survey experience of your users is to make sure that in-app surveys are only shown on specific areas or your application. Restricting the location of a survey is especially useful when you are using our Follow-Up Mode or Recurring Surveys. In both cases, subsequent survey [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","template":"","knowledgebase_tag":[],"class_list":["post-28279","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-in-app-surveys"],"featured_image_urls_v2":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":"","ab-block-post-grid-landscape":"","ab-block-post-grid-square":"","gb-block-post-grid-landscape":"","gb-block-post-grid-square":""},"post_excerpt_stackable_v2":"<p>Introduction A simple yet effective method to fine tune the survey experience of your users is to make sure that in-app surveys are only shown on specific areas or your application. Restricting the location of a survey is especially useful when you are using our Follow-Up Mode or Recurring Surveys. In both cases, subsequent survey views might occur on pages that are not in the scope of the original survey trigger. Please note: Restricting the location of a survey works independently from our Page Visit and Screen Visit launch trigger. You can think about the location restriction option as a&hellip;<\/p>\n","category_list_v2":"","author_info_v2":{"name":"Moritz Dausinger","url":"https:\/\/refiner.io\/docs\/author\/user\/"},"comments_num_v2":"0 comments","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Location Constraints<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Location Constraints\" \/>\n<meta property=\"og:description\" content=\"Introduction A simple yet effective method to fine tune the survey experience of your users is to make sure that in-app surveys are only shown on specific areas or your application. Restricting the location of a survey is especially useful when you are using our Follow-Up Mode or Recurring Surveys. In both cases, subsequent survey [...]Read More...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/\" \/>\n<meta property=\"og:site_name\" content=\"Refiner Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-19T21:34:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/\",\"url\":\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/\",\"name\":\"Location Constraints\",\"isPartOf\":{\"@id\":\"https:\/\/refiner.io\/docs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png\",\"datePublished\":\"2026-03-18T15:50:36+00:00\",\"dateModified\":\"2026-03-19T21:34:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#primaryimage\",\"url\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png\",\"contentUrl\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png\",\"width\":915,\"height\":444},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/refiner.io\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Location Constraints\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/refiner.io\/docs\/#website\",\"url\":\"https:\/\/refiner.io\/docs\/\",\"name\":\"Refiner Documentation\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/refiner.io\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/refiner.io\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/refiner.io\/docs\/#organization\",\"name\":\"Refiner Documentation\",\"url\":\"https:\/\/refiner.io\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/refiner.io\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2022\/11\/cropped-Group-8.png\",\"contentUrl\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2022\/11\/cropped-Group-8.png\",\"width\":400,\"height\":61,\"caption\":\"Refiner Documentation\"},\"image\":{\"@id\":\"https:\/\/refiner.io\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Location Constraints","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/","og_locale":"en_US","og_type":"article","og_title":"Location Constraints","og_description":"Introduction A simple yet effective method to fine tune the survey experience of your users is to make sure that in-app surveys are only shown on specific areas or your application. Restricting the location of a survey is especially useful when you are using our Follow-Up Mode or Recurring Surveys. In both cases, subsequent survey [...]Read More...","og_url":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/","og_site_name":"Refiner Documentation","article_modified_time":"2026-03-19T21:34:17+00:00","og_image":[{"url":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/","url":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/","name":"Location Constraints","isPartOf":{"@id":"https:\/\/refiner.io\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#primaryimage"},"image":{"@id":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#primaryimage"},"thumbnailUrl":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png","datePublished":"2026-03-18T15:50:36+00:00","dateModified":"2026-03-19T21:34:17+00:00","breadcrumb":{"@id":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#primaryimage","url":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png","contentUrl":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2021\/12\/Screenshot-2021-12-20-at-17.59.54.png","width":915,"height":444},{"@type":"BreadcrumbList","@id":"https:\/\/refiner.io\/docs\/kb\/in-app-surveys\/restrict-location\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/refiner.io\/docs\/"},{"@type":"ListItem","position":2,"name":"Location Constraints"}]},{"@type":"WebSite","@id":"https:\/\/refiner.io\/docs\/#website","url":"https:\/\/refiner.io\/docs\/","name":"Refiner Documentation","description":"","publisher":{"@id":"https:\/\/refiner.io\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/refiner.io\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/refiner.io\/docs\/#organization","name":"Refiner Documentation","url":"https:\/\/refiner.io\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/refiner.io\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2022\/11\/cropped-Group-8.png","contentUrl":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2022\/11\/cropped-Group-8.png","width":400,"height":61,"caption":"Refiner Documentation"},"image":{"@id":"https:\/\/refiner.io\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase\/28279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/comments?post=28279"}],"version-history":[{"count":6,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase\/28279\/revisions"}],"predecessor-version":[{"id":28290,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase\/28279\/revisions\/28290"}],"wp:attachment":[{"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/media?parent=28279"}],"wp:term":[{"taxonomy":"knowledgebase_tag","embeddable":true,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase_tag?post=28279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}