This article includes some common troubleshooting techniques to check why you cannot see the metadata that you pass on to the questionnaire instance.
The first check that you need to go through is to see that you have placed the push metadata script at a point where it's executed.
Please refer to the Push Metadata page for more details on this step. You will need to see (and probably debug) that this script is executed properly without any errors.
NOTE 1: The script should be executed after the execution of the library initialization.
NOTE 2: There are cases where integrations allow specific conditions to append snippets of javascript into your website, like Google Tag Manager. You should consider checking these conditions as well, to make sure the script is loaded into the page.
You will need to see that the script is executed and pushes the metadata to the e-satisfaction collection mechanism.
You should see on the network tab, on the development tools, a call towards collection.e-satisfaction.com.
Case 1: The script executes after the questionnaire is displayed
In this case, you should see a new call towards https://collection.e-satisfaction.com/ajax/questionnaire/metadata. Check the screenshot below:
If the script executes before the questionnaire is displayed, all metadata will be appended on the original call to https://collection.e-satisfaction.com/preflight/questionnaire/ (you should check on the payload on the request)
Case 2: The script executes before the questionnaire is displayed
In this case, all metadata will be appended on the original call to https://collection.e-satisfaction.com/preflight/questionnaire/. Check the screenshots below:
And with the payload:
If you still have a problem, feel free to contact support@e-satisfaction.com and describe your problem!
NOTE: To make sure you get a faster response, describe, in as detail as possible, the exact steps that you have followed and the result that you get, so that we can have the best context!