Track API calls with Piwik tracker