Hi Daniel,
you need to select the content type as javascript in the html snippet
add this line if(sWOTrackPage)sWOTrackPage();
and you have add the library inside index.html where you can find it in theme folder of
project explorer and add this script tag
<script type='text/javascript' src='//hostedusa2.whoson.com/include.js?domain=mydomain.com'></script>
in your index.html file
I don’t believe you can use the tag : “<script>”
If you want to use some javascript you just have to put it directly in a html snippet with javascript enabled.
But if you need to add a library, you will have to add it to the index.html page (in the theme folder).
you will need to add this line to the document :
<script type='text/javascript' src='//hostedusa2.whoson.com/include.js?domain=mydomain.com'></script>