Table of Contents
Traffic Rules
Allows you to redirect incoming hits or clicks to specific URLs depending on various conditions.
Incoming
Allows you to set up rules for incoming hits, for example if you want to redirect some hits without bringing them to the trade page. Note that you can only redirect incoming hits if you use the option of counting hits with the original SmartCJ index.php. If you count hits using an include (<!–#include virtual='/scj/cgi/include.php'–>), then this option will not work.
Settings:
Var - this is the variable by which the redirect will occur. For example, HTTP_REFERER, HTTP_ACCEPT_LANGUAGE or GEOIP_COUNTRY_CODE Value - the value of the variable. For example, google.com or ru. Redirect URL - the URL where to redirect this traffic.
Full example:
var = HTTP_REFERER value = google.com Redirect URL = http://sponsor.com/
redirect all hits from Google directly to the sponsor.
Outgoing
Configured similarly to Incoming, except for the presence of the Click parameter. This parameter allows you to assign the click number that will be redirected.
Example:
var = HTTP_REFERER value = yourdomain.com click = 3 Redirect URL = http://sponsor.com/
redirect all 3rd clicks to the sponsor.
PS if you use GEOIP_COUNTRY_CODE and other mod_geo variables make sure you have mod_geo installed. To do this open the page /scj/admin/test.php and try to find GEOIP_COUNTRY_CODE there. If it's not - contact the administrator to install the corresponding module for apache.
Traffic Sell
You can automatically sell part of traffic (some % of outgoing clicks)
Percent of sellable traffic is set in All Traders - what % of traffic to send to sale. These are default values for all clicks. Note that there are 2 values - % of sellable clicks from clicks that should go to URL and % of clicks that should go to traders.
Sell URL - URL where to send sellable traffic. Note that there can be several Sell URLs, for example 2 brokers and the % in this line - this is NOT the percent of sellable traffic in general, but % of sellable traffic to this URL.
You can also set personal settings for each trader (101 - means use defaults)
Clicks Estimated at the bottom of the table - expected number of clicks, this statistic is calculated based on the last hours' statistics.
In Sell URL you can use the {URL} tag to return traffic. For example, the surfer clicks out.php?url=http://gallery.com/, but instead of going there directly we send them to a broker. In that case, you can write the sell URL as http://broker.com/in.cgi?user&return_url={URL}, so the surfer is redirected to http://broker.com/in.cgi?user&return_url=http://gallery.com/
If the broker doesn't like the surfer and decides to return them to us, but sends them directly to http://gallery.com/.
The &return_url parameter is set for each broker separately - consult with them.
Sell by groups
Imagine we're selling traffic on a multi-niche site. By default we specified in Traffic Rules - Traffic Sell the URL like http://broker.com/?id=your_id and all traffic, on all pages of your site is sold via this URL. However if we sold traffic for example from the page /category/japanese/ via the URL http://broker.com/?id=your_id&niche=japanese then the broker would give a higher price.
For this we add the {GROUP} parameter to the sale URL, so the URL becomes http://broker.com/?id=your_id&niche={GROUP} (for example for trafficholder http://www.trafficholder.com/in/in.php?youreid-{GROUP} ). However the question is, what if the broker doesn't have the japanese niche? the closest is for example tube_asian. For this in Rotation - CMS - Tube settings there's a Niche traffic sell field where we need to enter the correspondence of our niches and the broker's niches, for example,
tube_asian=Japanese,Asian
where tube_asian is the broker's niche, and Japanese,Asian are our niches on the site separated by comma.
