How to setup bento survey in Magento 2 ? Need to add below in head
tag.
<bento-survey-form id="old-glade-12345" type="popup" delay="5"></bento-survey-form>
I have tried using requirejs-config.js
and also adding below script.
<script src="https://unpkg.com/jquery"></script>
<script src="https://unpkg.com/survey-jquery@1.9.13/survey.jquery.min.js"></script>
requirejs-config.js
var config = {
paths: {
Survey: 'V4U_BentoSurvey/js/survey.jquery.min'
},
shim: {
Survey: {
deps: ['jquery']
}
}
};
But not yet luck.