Tracking of earnings on multi-author blog

Today lets look today into the concept how the advertisements are tracked for the respective author of the post. On colorsofnet.com we works on the concept of author id’s, at the bottom of the post we specifies the unique author id for the post author. This author id we use in the back-end php script with the respective author advertisements, and how we differentiate among various authors advertisement who don’t have an adsense account of their own will be covered later in the post.

Author ID

In the above screen shot for the user gknp007 the unique author id is 109, and similarly for user Rainbow the unique author id is 2.

Now lets look how the ads being delivered for the users on the basis of the author id. Here is the code that we are using for tracking the respective authors earnings.

if ($author == “109″) { ?>
<script type=”text/javascript”><!–
google_ad_client = “pub-8423824671108420″;
/* 336×280, created 10/26/09 */
google_ad_slot = “3676079036″;
google_ad_width = 336;
google_ad_height = 280;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
<?php } elseif ($author == “2″) { ?>
<script type=”text/javascript”><!–
google_ad_client = “pub-8423824671108420″;
google_ad_slot = “8227300545″;
google_ad_width = 336;
google_ad_height = 280;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>

From the above script its clear that on the basis of the author id the ads are delivered, for the author id: 109 the google_ad_slot = “3676079036″; and for the author id: 2 the google_ad_slot = “8227300545″;
So, the tracking is on the basis of the unique author id and their respective google_ad_slot.

Now lets see how we check the earnings online as per the google_ad_slot, this screen shot will give a clear view.

adsense

In the screen shown the earnings for each author will be tracked in real time, from this we can track daily weekly and monthly stats for the different google_ad_slot. Here earnings for users con-rainbow, con-square, style_o_moon, anjuraj03.

And how you will be able to view these stats of earnings, for this right now we don’t have any provision. But in the end of the month i will be sharing my system with you, so that you can online access and check the adsense earnings from my system. And the payments will be made after 45 days from the month end.

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Ping.fm Post to Reddit Reddit This Post Post to StumbleUpon

Related Posts

 Subscribe in a reader


3 Comments Add Yours ↓

  1. 1

    Hey nice post dude…

  2. 2

    Its an effort that might have given some understanding of the functioning of a multi author blogs revenue sharing technology

  3. 3

    maybe it can be implement using other advertising too.. just need to change the code a bit.. good tutorial..


0 Trackbacks/Pingbacks

  1. colors 27 10 09

Your Comment


Get Adobe Flash playerPlugin by wpburn.com wordpress themes