Accessing your websites' mood
Using your site code you can access your website's mood at any time from this URL (where '12345' is your site ID):http://www.moodsites.com/getMood/12345
This will output a simple line of text, which contains your mood, a separator - the 'pipe' character | - and your mood level. For example:angry|3
This means your visitors are angry, but just barely - 3%. Here's another example:happy|89
Now you're doing something right - your visitors are majorly happy. 89% happy, in fact.So what can you do with this code? Click over to the sample scripts to see.
JavaScript mood & mood level
Include this script above any other Moodsites scripts in your page and you'll have access to your site's mood and mood level via two variables: "usrMood" and "usrMoodLevel".
<script type="text/javascript" src="http://www.moodsites.com/getMoodJS/12345.js"></script>
Latest mood rating
If you want to access your latest mood rating, here's how you do it. The output is in the same format as the mood code at the top, for example, "love|92".
http://www.moodsites.com/getLatestMood/12345
JavaScript latest mood
Outputs two variables: "usrLatestMood" and "usrLatestMoodLevel"
<script type="text/javascript" src="http://www.moodsites.com/getLatestMoodJS/12345.js"></script>


