How to Use
Firstly add a dependency to your module and put just once a Wootric_Initialize on a start of a page loading (preparation) or layout.
It requires account_token as an input parameter.
Then you can freely use Wootric_Display wherever you need to start a survey and send results on the Wootric server.
Web browser development tools may be used to make sure the package is being sent on URL https://api.wootric.com/ with POST method and plugin works properly.
Please note that it may take some time for the data to be displayed on the server. Usually it does not take more than two-five minutes.
How to obtain token
Sign in on Wootric website. Create a project and in the Setting tab you will see
Your unique Account Token is: ..
Then all you need to do it is just to put this token in your Initializing action.