« New Google Analytics Could Mean Lower AdSense Revenues | Main | List of my Favorite Adwords Keyword Building Tools »

Code to Rotate Your Chitika Products Daily

If you want to have a selection of products on your pages, but are using the Chitika code to specify products by keywords, you can rotate the products you offer by the day of the week.  Amitpatel_3001 wrote it out on the Chitika tips forums, and it can come in handy.  This code can help any changes in your weekly traffic vs. weekend traffic to better target your users according to their focus.

Post this code just before your Chitika code and replace the keywords in it with keywords of your choice. Chitika will now serve ads based on day of the week keywords you've specified

< script language="javascript">
var dow = new Array();

dow['Sunday'] = " 'ipod' , 'dell laptop' , 'powerbook' ";
dow['Monday'] = " 'xbox' , 'playstation' , 'nintendo' ";
dow['Tuesday'] = " 'couch' , 'office furniture'";
dow['Wednesday'] = " 'popcorn maker' , 'blender' , 'toaster'";
dow['Thursday'] = " 'cod liver oil' , 'glucosamine'";
dow['Friday'] = " 'braun shaver' , 'norelco shaver'";
dow['Saturday'] = " 'LCD monitor' , 'hard drive' ";

var now = new Date();
var dayNames = new Array("Sunday","Monday","Tuesday",
"Wednesday","Thursday","Friday","Saturday");
< /script>

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83458f6fb69e200d83522277953ef

Listed below are links to weblogs that reference Code to Rotate Your Chitika Products Daily:

Comments

The comments to this entry are closed.