stateChange
The stateChange command signals the page (or view) has changed.
Use the stateChange
command to signify when the page (or view) changes in an application.
nid('stateChange', page_id);
Parameters
stateChange
: commandpage_id
(string): name of the page (or view) that should be used.
The NeuroID dashboard visualizations will divide your application into logical divisions to show an applicant's flow through the application. The stateChange
command is called multiple times through an application in order to signal to NeuroID how a user is moving through an application.
Examples of page IDs used include: personal_information
, about_you
, banking_details
, payment_info
, etc.
The most common use case for the stateChange
command is an alternative to using the nid('start')
command when your application is accessed within an iframe owned by another company. The stateChange
command enables you to signal these state changes to NeuroID without encountering issues with persisting cookies in the parent window calling an iframe.
Updated 7 months ago