Skip to main content
All CollectionsNPS
Survey Builder- Add Pre NPS in Thank You Page For Custom Shops
Survey Builder- Add Pre NPS in Thank You Page For Custom Shops
Costin Floricel avatar
Written by Costin Floricel
Updated over 5 months ago

For Reveal clients who use Survey Builder and want to enable the Pre NPS survey a series of steps needs to be followed:

  1. Go into the shop in Reveal.

  2. Navigate to General Settings -> NPS.

  3. In the "Where to show the survey" field, select "In Reveal".

  4. 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 popup

    • window.questionSurvey - the question that appears in the popup

    • window.unlikely - the text at the 0 value

    • window.likely - the text at the 10 value

    • window.thankYou - the text after the response has been given

Document image

Document image

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.

Did this answer your question?