Announcing Asynchronous JavaScript Deployment

Howdy Woopra fans! An important update to the Woopra tracking script was just implemented which should really help improve performance on your Websites. Our embedded javascript code has been updated to enable asynchronous communication between your site and the Woopra servers. To take advantage of this new feature, we’re going to be asking you to update your Woopra JavaScript on your sites.

What is Asynchronous JavaScript?

The way normal scripts are executed on a Web page is as follows:

  • Your Web browser sends a request to a server, then waits.
  • The server on the other end processes the request and sends a response.
  • Upon receipt your Web browser continues to load the page.

This is why your site can slow down if you load several scripts from different sites, especially if those sites are running slow.

Asynchronous scripts basically follow the same process with one notable exception – they don’t wait for the response! So, they send the request and then continue doing what they were doing while waiting on the response. This means that page load times are unaffected by the performance of a server on the other end of the javascript request.

How To Take Advantage Of This Woopra Update

For the first time in years, we are asking that you actually update the Woopra javascript code that you have on your site. While the old code will continue to function, if you don’t update it you won’t get the advantages of the improved performance.

Keep in mind that Google is now measuring page load times as a factor in their algorithm, so a faster page will bring you more search traffic. In other words – speed matters!

If you want to manually update the javascript you can simply replace your old Woopra code with the following:

 <script type="text/javascript">

var wsc=document.createElement('script');
var ssc = document.getElementsByTagName('script')[0];
ssc.parentNode.insertBefore(wsc, ssc);


If you use the Woopra WordPress Plugin you can simply update to the latest version as soon as we get it updated – which will be soon! We just didn’t want to wait for it to make the announcement.

If you are, or know, a plugin developer for any other platform please help us with getting all of the other plugins updated so that everyone can take advantage of this performance enhancement. Here is the new Async developer’s guide. Let us know if you need anything else!

Leave a Reply