Track downloads for ajax content

Hi All,

Piwik download count works for regular page load content.But on a page with ajax content the download is not counted.

I have tried with code below

jQuery(this).click(function() {
_paq.push([‘setDownloadClasses’, “download”]);
_paq.push([‘setTrackerUrl’, “http://172.xx.xx.xx/piwik/piwik.php”]);
_paq.push([‘trackPageView’]);
});

But still its doesnt work.

Please give me some suggestions how to make it work.Thanks in advance.