Table of Contents
out.php Parameters
Standard Set of Options
Basic Link Sends to Trade
/out.php?link=something
Send to a specific trade (click will be counted as a click on the trade)
/out.php?member=trade1.com /out.php?member=trade1.com&url=http://trade1.com/nichepage.html
Permanent Link
/out.php?link=something&url=http://realcontent.com
(With such a link, the surfer will always get to the content, unless otherwise specified in Default Skimming or Trader Personal Skimming)
The link=something parameter is not required. This is link tracking. For example, you have 2 blocks of thumbs on your homepage - one on the left, one on the right, and you want to know which one gets more clicks. We add &link=left to all out links in the left block, &link=right to the right block. After that, in Trade→ Statistics → Links you can see how many clicks went through which link. This way you can evaluate which block is more clickable.
Skimming (redirecting some clicks to traders instead of content): ``` /out.php?link=something&url=http://realcontent.com&p=60 ```
The `p=60` means 60% of clicks go to the URL; the remaining 40% go to traders (unless overridden in settings).
Groups: ``` /out.php?link=something&url=http://realcontent.com&p=60&group=teens ```
60% of clicks go to the URL; 40% go to traders from the “teens” group only.
Additional parameters: - `&p_group=60` - Send 60% to a specific group; remaining clicks go to all groups - `&skip_sell=true` - Don't apply Traffic Sell to this click - `&dont_count_in_trade=true` - Don't count this click toward trader stats
TDS parameters
out.php?scheme_id= for distributing traffic according to the specified scheme
How to pass GET parameters
Pass extra parameters using the syntax `{parameter_name}`.
For example, a visitor clicks `out.php?link=my_super_ad` and you want to notify the trader which link was clicked. Create trader URLs like:
``` http://trader.com/?user_click_at={GET_link} ```
The click forwards to: `http://trader.com/?user_click_at=my_super_ad`
Practical example: Create a template like:
```html <thumb …>
<a href="out.php?thumb_click_url=<!--THUMB_URL-->"> <img src='<!--THUMB_URL-->'> </a>
</thumb> ```
Then create trader URLs like:
``` http://trader.com/?user_clicked_at={GET_thumb_click_url} ```
Note `thumb_click_url` appears in both places. When clicked, the link goes to `out.php?thumb_click_url=http://domain/thumb.jpg`, which forwards to the trader as `http://trader.com/?user_clicked_at=http://domain/thumb.jpg`.
You can also do this with JavaScript.
out.php and tube/index.php
out.php - this is redirects, click counting, etc.
tube/index.php - this only creates a site page
If you link to tube/index.php then the user will see a site page, but traffic counting, redirects etc will not work there and all parameters related to out will not work in this case.
all that out.php does - checks whether traffic needs to be redirected, counts it AND includes tube/index.php
Rotation parameters
Default rotation looks like:
``` out.php?url=….&link=12x34x567 ```
- `url` = gallery URL - `link` = tracking parameter showing where the click came from (used to calculate thumb CTR)
For backward compatibility, this format still works. However, it shadows link-tracking (like `&link=block1`). To solve this, use `&link2` for your tracking, allowing both parameters simultaneously.
For internal pages, use `out.php?url=content`. You can combine all previous parameters with these:
- &url=content - For database lookups by parameter (slug, tag, category_name, etc.). Use this instead of a direct URL. - &group_id=, &group_name= - Rotation group ID or name (defaults to content_list template) - &dont_count_in_trade=true - Don't count toward trader stats (e.g., category clicks) - &dont_count_hit=true - Don't count toward gallery CTR - &skip_to_cookie=true - Don't increment the click counter for skimming calculations (useful for navigation clicks) - &slug=, &gallery_id= - Gallery slug or ID (from gallery settings) - &send_to_source=true - For custom galleries: forward to the source instead of displaying on your site - &force_template= - Use a specific template - &force_lng= - Force a language (en, de, etc.) - &sponsor_slug=, &sponsor_id - Filter by sponsor - &model_id=, &model_slug= - Filter by model
