Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am looking for a simple way to minimize ads on a website I'm developing in WordPress by only showing ads (Google Adsense, to be precise) on the site upon a large influx of traffic. A large influx as defined as, say, more than 2x the normal hourly traffic (though the exact metric used to determine popularity is not that important to me).

In other words, if ever the site sees a huge influx of traffic, I would like to begin delivering ads (to attempt to cover the incremental server costs). Otherwise, I would like to keep the site ad-free for the casual visitors.

Is there a simple way, or plug-in, to do this in WordPress?

share|improve this question

migrated from webmasters.stackexchange.com Nov 13 '11 at 0:15

This question came from our site for pro webmasters.

    
WordPress doesn't do any traffic tracking itself. You should edit your question to include what stats package(s) you're using, as that's going to determine what data is available and how/whether it can be used. Also, the question flips back and forth between a post getting high traffic and the whole site getting high traffic. You might want to clarify which you're actually asking about. –  Su' Aug 22 '11 at 3:30
    
Furthermore, define 'popular' and 'huge influx'. –  Anonymous - Aug 22 '11 at 14:29
    
Wordpress has their own tracking plugin called statpress. You can download and use it from wordpress jetpack. –  Mahesh Sep 2 '11 at 11:20
add comment

2 Answers 2

up vote 2 down vote accepted

There is one wordpress plugin called "Search ads" that lets you do this. You can show adsense ads only to search engine users, which usually click on ads. As for regular readers from sources like bookmarks and manual address typing, ads will not show. Another plugin is "ad injection".

If you wish to do adsense tracking on any website then you have to connect google adsense with google analytics profile. You have to use the tracking code of that profile on site which has adsense enabled.

share|improve this answer
add comment

If you are going to put ads the go for it. Why serve ad only part of the time. That does not make sense. Even the biggest sites on the web serve adsense ads all the time.

The best you could do is get a plugin that show ads during a specific time period if need be.

Or just keep your site ad free. Or there are other ways to make money outside adsense.

Throw up a banner or two. Sell a link. Think outside the box if you need to cover costs.

But in my opinion a popular site should run adsense 24/7

share|improve this answer
    
-1 Read the question. The point is specifically to minimize ads. Your opinion that ads should be maximized is irrelevant. –  Su' Oct 4 '11 at 16:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.