Appzi Docs

Append Data to Feedback

Append Data to Feedback

Settings Object

Certain Appzi aspects can be customized using the global variable appziSettings. A simple way to add it is to put it in header:

<head>
<!-- .... -->
<script>
window.appziSettings = {
/// options
};
</script>
</head>

Adding additional data to feedback

To append additional data to the feedback use the appziSettings.data property. The submitted feedback will be labeled according to the label field if present; otherwise, it will fall back to key name.

Example below:

window.appziSettings = {
data: {
someText: 'text',
'camel-case-number': 5,
booleanValue: false,
labeledValue: {
value: 'test',
label: 'Some Test Label',
},
},
};