For Reveal clients who use Survey Builder and want to enable the Pre NPS survey a series of steps needs to be followed:
Go into the shop in Reveal.
Navigate to General Settings -> NPS.
In the "Where to show the survey" field, select "In Reveal".
Go to the Pre NPS setup section and copy the script from the field labeled "Script for Thank You Page (Template)". It should look something like this:
5. This code should be added to the HTML of the Thank You page on the client's website.
6. When adding the script, replace the "{myOrderId}"
variable with the actual transaction ID from the client's website after an order has been placed.
Customization:
if the client would like to change the default text of the question in the popup on the Thank you page this can be changed by modifying these 4 window variables:
window.titleSurvey
- the title of the survey that appears in the popupwindow.questionSurvey
- the question that appears in the popupwindow.unlikel
y - the text at the 0 valuewindow.likely
- the text at the 10 valuewindow.thankYou
- the text after the response has been givenwindow.locale
- a 2 letter locale code that translates the survey that the user is redirected to when they click on a score in the pop up (example:window.locale = "ro"
- this will open the Romanian translated version of the survey)
Theme:
The theme for the Pre NPS will remain the same as the one set in the Survey Builder template.
This guide ensures that the Pre NPS survey is properly integrated and customized for the Thank You page on your site.