Before releasing new or updated survey settings to production, it is critical for your team to perform testing and QA to ensure proper behavior on your site.
Here are the main testing steps:
- Verify the gateway tag has been included (instructions below).
- Activate the loading rules and data collection for both survey and test survey.
- Verify Replay Capture.
For the initial installation of the Web SDK, refer to the Cloud Deployment article.
As part of the installation, Verint XM provides you with a staging code snippet that can be used for testing. This code snippet can live in your testing environment in order for you to thoroughly test any changes prior to promoting them to your production environment. The staging snippet, used in conjunction with the administration page below, gives you all you need to test your specific code configuration.
Either one of these URLs work for most clients. Clients new to Verint as of February 7, 2017 are using the "gateway.foresee.com" snippet below.
//gateway.**foresee**.com/sites/[sitekey goes here]/**staging**/gateway.min.js
Example of a Staging Snippet:
It is important to be sure that the entire tag is included without mutation, and that it is placed within the section of your pages. The tag can be deployed directly on the website, or through the use of tag management tools such as Tealium, DTM, etc.
To verify that a tag is included, you can use your browser's developer tools. Examples here use Chrome, although similar tools are available in other browsers.
- To view the developer tools, press F12 (opt + CMD + I for Mac).
- Navigate to the Sources tab (1).
- In the left pane (2), locate and expand the 'gateway.foresee.com' source.
Expand the code folder and verify that the correct tag has been placed for the environment. You should see one of these folders:
The Sitekey value is a unique name assigned to your code package and (typically) closely mirrors your company’s brand name. However, the folder that follows the sitekey (/staging or /production) is critical; please be sure the correct folder is shown in each environment: use staging in pre-release environments, and use production on client/customer facing platforms.
When Verint makes future updates to the code, these updates are pushed to the staging snippet first for pre-release QA. Only after changes have your approval are they then promoted to your production snippet. Therefore, it is critical that the staging snippet is not used in production environments.
The triggering code embedded on your site comes pre-configured for the business rules related to your production environment. This could potentially make testing difficult. Therefore, in order to receive the invitation/survey while testing, a Survey Configuration Testing page (Figure 1) is provided which allows the invitation to display at a frequency of choice for the testing session only.
A further explanation of the rules that can be configured in the testing tool is found in the Invitation Behavior article.
Note on the Testing Tool
To access the Survey Configuration page, simply add the hash
#fscommand=fstest to the end of any URL of your site, and then refresh the page. For example, if your site is located at
http://www.site.com, you would append the address to read
http://www.site.com#fscommand=fstest, press enter, and then refresh the page. An example result is depicted in the screenshot below.
Updated 6 months ago