e-satisfaction

The #1 Humanized Marketing Platform

Browse Questionnaire Integration (with Metadata)

Follow

 

Push metadata during the browse questionnaire integration 

Place the following script in the head section of your website. 

<script>
window.esat_config = { 
application_id: 'YOUR-APPLICATION-ID', 
collection: {
    'BROWSE-QUESTIONNAIRE-ID': {
        metadata: {
            responder: {
'visitor': true for visitor, false for logged in user',
'gender': 'The gender of the logged in user',
'region': 'The region of your visitor/customer'
           },             
questionnaire: {   
'page': 'The page where the questionnaire is displayed',   
'mobile': 'true for mobile, false for desktop'   
            }  }  }  }  }; 
</script>

The above script refers to example metadata. 

You will have first to create your application metadata through your dashboard application settings and then use them during the integration process. 

 

Was this article helpful?
0 out of 0 found this helpful

Comments