Start a conversation

Widget

The easiest way to gather feedback from your users, you can use the widget provided to you. For this, there are 3 ways to install it:

Easy way

Copy/paste this code everywhere you want the widget :

<script src="https://cdn.rawgit.com/wiym/wiym-widget/9949cf08/dist/wiym-widget.min.js">

</script>

<script> 

wiymWidget.init({ 

 team: 'teamname', // Replace by your team name 

}); 

</script>


Direct download

1. Download the widget

Download the JS file by clicking here.



2. Add JS and CSS files

Insert the JS file in every pages you want the widget:
<script type="text/javascript" src="path/to/js/wiym/wiym.min.js"></script>


3. Init the widget

Init the widget according to your needs :
wiymWidget.init({

 team: 'teamname', // Replace by your team name

 email: 'customer@mail.com', // required: this is the email of the customer who make the feedback

 tags : ['tag1', 'tag2'], // optional : [] by default

 userID : '123456', // optional : the is the user id of the customer who make the feedback

 language: 'en', // optional : the language of the feedback, 'en' by default, 'fr' or 'en' accepted

});


Package manager

1. Install with bower

Install the package wiym-widget :
bower install wiym-widget --save

 

2. Add JS and CSS files

<script type="text/javascript" src="path/to/bower_components/wiym/dist/wiym.js"></script>

<link src="path/to/bower_components/wiym/dist/wiym.css">


3. Init the widget

Init the widget: 

wiymWidget.init({

 team: 'teamname', // Replace by your team name

 email: 'customer@mail.com', // required: this is the email of the customer who make the feedback

 tags : ['tag1', 'tag2'], // optional : [] by default

 userID : '123456', // optional : the is the user id of the customer who make the feedback

 language: 'en', // optional : the language of the feedback, 'en' by default, 'fr' or 'en' accepted

});



Choose files or drag and drop files
Was this article helpful?
Yes
No