Asynchronous versions of piwikTracker variables?

First of all, I’m so excited to have stumbled across Piwik. This is a fantastic alternative to Google Analytics!

I’m using the Drupal 6 version of Piwik, and it automatically creates the asynchronous version of the tracking code. If I add the custom JS snippet piwikTracker.setLinkClasses( “external” ); (from the Javascript tracking page), it breaks the code.

I’ve searched for but have been unable to find documentation that explains how to translate, for example, piwikTracker.setLinkClasses( “external” ); into the asynchronous code version. Could someone point me in the right direction?

Thanks,
Alex

see doc: http://piwik.org/docs/javascript-tracking/#toc-asynchronous-tracking


piwikTracker.setLinkClasses( "external" );

becomes


_paq.push(['setLinkClasses','external']);