Ad Sharing plugin for single wp site

Hi,

I want to set up a site, where authors will write posts and we will use google adsense and we need to track the post view page so that we can split revenue with the author

from which post click is through on ad

how to achieve that ?

Regards.