Search Content

WhitePapers


Oracle Magazine

Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest...Read More


Which CMS Is Right For Me?

If you're wondering which CMS is the right one for your organization, this comprehensive guide will take you through the various options available, detailing the pros and cons of each. Download...Read More


Sales Force Automation Comparison Guide

Businesses of all sizes can benefit by automating all aspects of their sales processes with an SFA (Sales Force Automation) solution. But due to the sheer number of features that most SFA solutions...Read More


How to Buy a Phone System

Considering a new phone system for your business? The Phone System Buyer's Guide from VoIP-News provides you with all of the information you need to make a more informed decision. The Guide helps you...Read More




View All Whitepapers

Revenue Sharing on a Multi-Author Blog

You are the admin of a team blog that has multiple guest authors. The revenue sharing arrangement is such that all members get to keep a fixed percentage of the AdSense revenue that is generated from pages / articles that they have written.

Lets assume that you are the administrator of a team blog that has multiple guest authors. The revenue sharing arrangement is such that all writers get to keep a fixed percentage of the actual AdSense revenue generated from articles that they have written.

This arrangement, from the perspective of team members, maybe better than dividing AdSense revenue based on pageviews because the author is getting exactly what he earned. You can have less number of pageviews but if the CPM of your niche is high, it kind of balances out.

Now to put such a thing in place, you have two options either ask all the authors to open separate AdSense accounts and send you their ad tags or better still, you can have just use one AdSense account (your own) and create separate channels for all authors. Lets see how:

adsense-channels

Say your blog (hosted on WordPress or Blogger) has three authors Sam, Peter and Matt. Go to your AdSense dashboard and create three separate custom channels give each channel a name that matches with the name of author.

Now create three different ad units (of the same format) but assign a different channel to each of them. You can follow a naming convention like Leaderboard_Peter, Leaderboard_Sam, etc.

adsense-manage

Get the AdSense code corresponding to the AdSense channel you just created and it will look something like this.


<script type="text/javascript"><!--
google_ad_client = "pub-xyz";
/* Leaderboard - Peter */
google_ad_slot = "123789";
google_ad_width = 728;
google_ad_height = 90;
//-->

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

The code will be exactly similar for all other ad units (per author) with one exception the value of google_ad_slot will vary depending on the author and this is something that will help us determine the exact AdSense earnings of different authors.

To get the author name of a post on WordPress or Blogger, you can use the following code:

  • Old Classic Blogger: <$BlogItemAuthorNickname$>
  • New Blogger: <data:post.author/>
  • WordPress Blogs: <?php get_the_author(); ?> you may even consider suing get_the_author_login();

Now all you need to do is write a simple piece of JavaScript code that maps the author name and google_ad_slot values correctly. Heres an example with WordPress:

<?php function get_ad_codes($author) {
if($author == 'peter')
return '123789';
elseif ($author=='sam')
return '987878';
else // default, no author found
return '964743';
} ?>

Now the AdSense code in your WordPress blog template will be something like this:

<script type="text/javascript"><!--
google_ad_client = "pub-xyz";
google_ad_slot = "";
google_ad_width = 728;
google_ad_height = 90;
//-->

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Blogger Templates support only JavaScript (no PHP) so youll have to slightly modify the code above to make it work with Blogger.

When the payment cycles is near, group the AdSense report by channels and there youve the exact earning data per author.

The upcoming AdSense reports in Analytics will tell you the earnings per URL but youll still need a different mechanism (like the one above) to find revenue per author.



Related Salesforce Mobile Articles

Introducing Salesforce for Google Apps


Today we are excited to announce that we have expanded our partnership with Google and together have delivered an industry-changing new product called Salesforce for Google Apps. It went live last night at 11pm PST to all salesforce.com...

Read more about Introducing Salesforce for Google Apps...

Cross Salesforce.com and Amazon S3?


You get Appirio Cloud Storage for Salesforce.com, a new SaaS offering from Appirio that taps Amazon S3 to extend the storage capabilities of Salesforce.com. (We toyed with calling it SalAmaForce3 but didn't really see that...

Read more about Cross Salesforce.com and Amazon S3?...