![]() |
Adsense shown every 5 page views?
Hi,
Sorry if this is in the wrong forum. Does anyone know if there's a script that will allow adsense (or any chunk of code) to be added to the header, but only shown once every 5 or so page views? Thanks :) |
Hmmm, I don't know if you can specify which page view to show a certain code/advertising. Though you can make it random. Shown/Not Shown. I could be wrong though. Quering the database to record the page view could be an alternative, though I wouldn't recommend it. :)
|
Thanks. I had read where a guy said his CTR shot up when he only had it display once every 10 page views, but didn't show how to set something like that up. :(
|
Random would be the best option, you could just code a simple javascript that generates a random number from 1 to 5, and if the number is 5 then the script would show the ad. You'd have a 1/5 chance of seeing the ad that way.
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=107666" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=107666</a>
|
Thanks, I'll give it a try. :)
|
All times are GMT. The time now is 06:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|