Click anywhere to close
Your NPS Survey has a feature entitled Domain Protection. This feature allows you to provide a whitelist of where you can accept NPS Survey submissions from. This article will spend some time explaining and sharing this feature.
Within your survey settings you are able to set a whitelist of domain names. For our discussion here let's use the domain of "example.com". If we set that URL into our whitelist and enable domain protection, then only submissions received from a page on that domain will be accepted.
It is important to note that this feature will allow the submission if the listed domain is found in any fashion. It does not limit it to an exact match.
So for example, if we use the setting "www.example.com" as our domain protection, then:
By contrast, if we use the setting "example.com" as our domain protection, then:
Please only include the domain name in your whitelist. Do not include the protocol setting of "https" or "http".
If the protocol is entered, we will attempt to strip it out for proper domain matching, however it is better if it is just not included.
It should be noted that it is possible for users with extreme browser security settings to prevent our scripts from properly determing the referral url. If Domain Protection is enabled and the script is unable to determine the referring domain, the script will treat the user as a blocked user.
If you notice a significant drop off in your NPS response volume after enabling this feature, there may be security items preventing proper use of it.
To enable domain protection, navigate to the settings page for the survey property you want to edit. About halfway down the page you should see a section entitled Domain Protection.
Fill out the whitelist of any domains you want to include. You can include multiple domains by listing them as a comma seperated list.
Once you have the domains listed, check the checkbos to "Enable Domain Protection"
Once finished, save your NPS survey and give it a test.
If you are having trouble working with the domain protection settings, these tips and tricks might help.
Validate the actual domain listed. Keep in mind the pointers listed above about the differences between "example.com" and "www.example.com". If your survey is not prompting you may have too strict of a Domain name in place. Try simplyfying your base domain list.
Validate that the domain presenting the survey has not changed. Sometimes on some websites, the domain may change as you move around a site. Validate that the domain presenting the survey is in fact properly listed on base domains list.
Validate that the browsers security settings are not prohibiting the referrer information from being shared. More about browser security if provided above.