TDS
So, Traffic Sell is TDS. Everything is quite simple.
On the left are schemes, on the right are rules for the current scheme. A scheme is a list of rules for redirecting traffic depending on conditions. Schemes come in 2 types: weighted and linear. Weighted is when a scheme has, for example, 2 rules. One has 60% weight, the other - 40%. This means that when transitioning to /scj/cgi/out.php?scheme_id=.. in 60% of cases traffic will go to the first URL and 40% to the second. In a linear scheme the script goes from top to bottom through the rules (you can change the order of rules by dragging them with the mouse) and redirects to the first rule that matches this traffic. Note that if a weighted scheme has, for example, 3 rules, and for some reason one of them doesn't suit this surfer, then traffic will be distributed between 2 rules with corresponding percentage recalculation. For example, 3 rules: 1 - 40%, 2 - 40%, 3 - 20%. For some reason traffic comes to which rule 1 doesn't apply. This means rules 2 (66%) and 3 (34%) will receive traffic.
Rules can be as many as needed within reason. Note that in the URLs of the rules, variables like {GROUP} {URL} work the same way as they did in traffic sales.
Also, when creating each scheme, a default URL appears - this is the URL where traffic will go if no rule matches.
Fields in rules:
- Rule URL - where to redirect if this rule triggers
- Country Filter - list of countries (GEOIP country code) separated by space or comma, you can use negation, i.e. !DE,GB - all except DE and GB
- Language Filter - similarly for browser languages
- Referer Filter - by default a list of keywords to search for in the referrer. However, you can use the same rules as in Filter Keywords, for example car -audi means the rule matches hits where the referrer contains car but not audi.
It's important to remember that rules are combined with each other as “OR”, for example
ref http://domain/bus/red/ car bus
we check in order, by the first condition there is car - it matches, no need to check further.
For example conditions
-car blue
similarly, by the first condition there is no word car - the rule matches.
If you need “AND” in the condition then you need to put conditions in parentheses, for example
(-car blue)
i.e. there should be no car AND(!) there should be blue
There is also a noref operator for no-ref traffic. For example, you set a rule
-car
and a hit comes WITHOUT a referrer, obviously car is also not there, to cut off noref make it as
-noref -car
- Unique Filter - the hit must be unique for this rule. Simple example: weighted scheme, 3 URLs. All have unique hit set. A person came for the first time - they were sent to URL 2 for example. Came the 2nd time - only URLs 1 and 3 remain for selection, because for rule 2 they are no longer unique. For example, we send to 1. On the next hit respectively to 3. And the next hit is not unique for any of the rules = we send to the Default URL of the scheme.
- Proxy Filter - hit via proxy
- Mobile Filter - mobile hit
- Total Hits Limit, Daily Hits Limit , Hourly Hits Limit - traffic restrictions. In the rules table itself traffic comes as rows (uniques).
- For countries, languages, and user agents you can also use the negation sign “!” for example !de means in languages means all except German
Examples of TDS configuration
Returning to the question of selling specifically mobile traffic: to maintain backward compatibility Traffic Sell doesn't change, but there's an opportunity to instead of a broker URL enter for example TDS_1 - which means use tds scheme 1, or TDS_2 - which as you can guess scheme 2.
So you need to add one scheme like Rule Order in which to enter rules:
- a rule with mobile filter set
- a rule where all other traffic will be sold (no filters)
the default URL doesn't matter here because all traffic will go to one of these rules The scheme will likely get number 1. You need to enter the sales URL accordingly as TDS_1
You need to sell the first click of all mobile surfers. For this
- set sales to 100%
- in TDS add one rule with filters “mobile” and “unique hits”
- set the scheme's default URL to {ORIGINAL_URL} - this means if traffic doesn't match the rule, it will go to the URL it was originally heading to.
You need to redirect all incoming mobile traffic, but by countries. For example, the US to one sponsor, Germany to another:
- Settings - cjsettings - mobile : personal page - http://your_domain/scj/cgi/out.php?scheme_id=1 (could be 2, 3 etc if you already have schemes)
- configure the scheme: you don't need to set mobile rules - only mobile will get there anyway. So we add 2 rules with a country filter.
- configure default url - where mobile traffic from other countries will go.
- ATTENTION, don't set the default URL to your own domain again - it will be redirected to TDS again and go in circles
Custom galleries and ORIGINAL_URL By default for custom galleries ORIGINAL_URL is formed as the default /gallery/gallery_slug/index.html. But if you have your own rewrites then instead of ORIGINAL_URL you can write for example http://domain/video/{SLUG}/index.html The general rule here: the script replaces all {….} strings - with values from GET variables.
Testing was done on Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 3 schemes with 10 rules each, rule 7 triggers in each scheme - outputs 700 requests per sec. This is 60M per day, you can cut it in half and still get 30M per day. Enough for most users.
