Attaching custom metadata to responses
Custom metadata is any additional information you wish to include in your response. This metadata will be available in the Response list in the analytics section in Feedbackly. You can also filter and group responses by metadata.
Metadata will be included to the subsequent survey responses made by the visitor on the site. Metadata will always be included in responses until it is cleared or the user resets their browser cookies.
Note: Metadata can be added at any point of time before a survey is launched.
When the Feedbackly widget is installed on the site, run
FBLY.action("addMeta", KEY, VALUE);
FBLY.action("addMeta", "customerId", "12345");
This command adds a customer id to the subsequent responses of the user.
This action will a single metadata key and value from the visitor. It does not affect previous responses given by the user, however.
This action removes the customerId set in the previous example.
This action will clear all the metadata from the visitor. It does not affect previous responses given by the user, however. This action needs to be run before a survey is launched.