Automatically set a new channel for each Chitika keyword
November 24th, 2005
This ony works in non-contextual mode, which is the default for Chitika eMiniMalls
Generate your code
<script type="text/javascript"><!--
ch_client = “Your Login”;
ch_width = 728;
ch_height = 90;
ch_non_contextual = 1;
var ch_queries = new Array( “digital cameras”, “stereo”, “sony playstation”, “dell laptop” );
var ch_selected=Math.floor((Math.random()*ch_queries.length));
ch_query = ch_queries[ch_selected];
//–></script>
<script src=”http://scripts.chitika.net/eminimalls/mm.js” type=”text/javascript”>
</script>
Place this under the bolded code
ch_sid = ch_query;
var ch_queries = new Array( "digital cameras", "stereo", "sony playstation", "dell laptop" );
var ch_selected=Math.floor((Math.random()*ch_queries.length));
ch_query = ch_queries[ch_selected];
ch_sid = ch_query;
So it looks like that.
What this does is when it randomly selects a keyword it assigns it a variable, let’s call it X. Then it also states that the channel ID should be called X as well. The result? 1 Channel per 1 Keyword. The ultimate tracking tool!
Also check out Advanced Chitika Channel Tracking!
Entry Filed under: Optimizing Chitika Ads
1 Comment Add your own
1. Chitika FAQ » Advan&hellip | December 8th, 2005 at 8:08 am
[…] As outlined in this post Automatically set a new channel for each Chitika keyword […]
Leave a Comment
You must be logged in to post a comment.
Trackback this post | Subscribe to the comments via RSS Feed