If you would like to track new comments and replies via your own analytics service, such as Omniture or Google Analytics, you can do so via the following callback function. This callback function accepts one parameter comment which is a JavaScript object with comment ID and text.
The following callback can be added to the disqus_config function, which is already included within the WordPress plugin, before the main Disqus Javascript include:
function disqus_config() {
this.callbacks.onNewComment = [function() { trackComment(); }];
}
Make sure to replace trackComment(); with the script you wish to track via your analytics service.
