Plugin for affiliate Marketing

I am affiliate marketer and searching for any affiliate marketing plugin for cake php. Like where we short links and manage all statistics of that link ( view, click etc).

Just create a MVC for views and one for clicks, and each time the page is requested or a link clicked, add a record.