Automatically set a new channel for each Chitika keyword

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!

1 Response to "Automatically set a new channel for each Chitika keyword"