Skip to content

Instantly share code, notes, and snippets.

@araddon
Created July 6, 2011 15:50
Show Gist options
  • Save araddon/1067582 to your computer and use it in GitHub Desktop.
Save araddon/1067582 to your computer and use it in GitHub Desktop.
Using Webtrends.js 10.0+ Non-asynchronously
<!--
Inclusion of file inline, not using script injection forces
load at a determinate point so no need for webtrendsAsyncInit function
-->
<script src="/static/webtrends.js" type="text/javascript"></script>
<script type="text/javascript">
// create and initialize which calls dcsGetId()
var dcs=new Webtrends.dcs().init({dcsid:"YOUR_DCS_ID",timezone:-5}).track();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment