Integrate an Emotion Sensor® on a Website


-- Download Integrate an Emotion Sensor® on a Website as PDF --


An Emotion Sensor® can be integrated on a website in different ways.

To integrate a survey on a WordPress website as a burst, please refer this article.

1 – Popup Emotion Sensor® on the web page after 10 seconds.

Add the provided websiteEmbed.min.js file at the bottom of any html page as below.

<script type=”text/javascript” src=”websiteEmbedTemplate.min.js”></script> 

“websiteEmbedTemplate.min.js” File can be accessed through the following link. https://storage.emojot.com/libs/website/rules/websiteEmbedTemplate.min.js

2 – Inline Emotion Sensor® for a page

Add the following iframe, where the survey should be shown.

<iframe class=’emojot_widget_inline’ style=’height: 200px; width: 80%; overflow: hidden; display: block;margin-left: auto;margin-right: auto;’ onload=’this.style.display=”block”;’ src=’https://emojot.com/dupont2?loginRequest=Anonymous&widget=true’ scrolling=”no” frameborder=’0′ allowfullscreen></iframe>

3 – Display popup Emotion Sensor® after submitting a form

Add the provided websiteEmbedTemplate.min.js file at the bottom of the html page as below.

<script type=”text/javascript” src=”websiteEmbedTemplate.min.js”></script>

“websiteEmbedTemplate.min.js” File can be accessed through the following link. https://storage.emojot.com/libs/website/rules/websiteEmbedTemplate.min.js

Finally add the following line of code into the handler of contact details submit.

emojotSurveyRules.popupManualSurvey();

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *