Debugging website widgets
Due to the amount of variables it's not always straightforward to figure out why exactly a survey triggers/doesn't open for a visitor.
To find out more about the underlying reasons, Feedbackly provides the means to debug this.
When on your website and with Feedbackly widget installed, open up the dev tools for the browser. In Chrome, this can be done via the command
⌘ + option + J
Run the following command:
The console should print out an array of configuration objects similar to this:
This is in essence the JSON-representation of your website triggering parameters available on the Feedbackly UI's widget triggering parameters. All the objects in this array are the potential surveys to be shown to the user when conditions are met.
To find out what data the widget has recorded of the visitor, run
This data can be useful in determining whether the visitor has met the conditions for a survey to be triggered.
A few remarks on the properties:
session.declinedActivationslists whether the user has declined a survey, its id and timestamp
session.sampledActivationsshows whether the visitor fits to the sample of the survey
visitedUrlsshows all visited urls of the visitor
scrollshows the current page scroll of the visitor