Table of Contents

CJ Settings

Most settings are straightforward, but some warrant additional detail.

Counted Clicks Max

The maximum number of clicks counted per user. Subsequent clicks are routed normally but not included in statistics.

Next Click is Click Number

Which click number should be counted in the “Next Click” column. See Second Click.

Header Check

A feature to inspect HTTP request headers. Browsers send header info about themselves—like whether they support compression. Most browsers do, but many proxies don’t.

To use:

Advanced users can check any header field.

Trade Formula — See Trade Formula.

Count hits with referrer other than main domain — Whether to count hits where the referrer is not your domain. For example, someone might link directly to your `/out` endpoint from their site.

Default Firstclick — The default first click setting (see First Click). Used if no other value is specified in the URL or trader settings.

Cookie lifetime — How long the script’s tracking cookie lasts, in seconds. The script identifies unique users by cookie. Default: 86400 (one day).

Top position keywords — Comma-separated keywords to determine placement at the top of the trader list. See Top Positions.

Admin Auto Refresh — Auto-refresh the Trade screen every N seconds.

System email — Email address for script notifications. Only visible in the admin panel, not on the signup page.

Check main pages changes — A security feature against server hacks. The script monitors pages listed in Settings → CJ Pages and emails the system email address if any change.

URL to Add to Galleries

Use this to prepend a URL to all gallery redirects. Useful if you want to wrap galleries in a frame (so you can display your ad at the top).

Example:

Say you have this link:

```html <a href=“/out.php?url=http://webmaster/gallery.html”>Webmaster’s gallery</a> ```

Normally, clicking it sends the user to `http://webmaster/gallery.html`. But you want to wrap it in a frame with your ad on top.

1. Create a file called `frame.php` in your domain root:

```php <html> <head> <title>Gallery</title> <meta http-equiv=“Content-Type” content=“text/html; charset=windows-1251”> </head>

<frameset rows=“80,*” frameborder=“NO” border=“0” framespacing=“0”>

<frame src="http://yourdomain/your_adds.html" name="topFrame" scrolling="NO" noresize>
<frame src="<?=$_GET[‘url’]?>" name="mainFrame">

</frameset> </html> ```

This creates a frameset with your ad (80px) on top and the gallery below.

2. Set URL to add to galleries to `/frame.php?url=`

Now the link sends the user to `/frame.php?url=http://webmaster/gallery.html` instead.

System proxy — Proxy used by the script for all outbound requests.

Advanced TOP settings — Parameters for creating toplists. See Toplist.

Processed Data — Controls which data is recorded in the database. For very large sites (5M+ hits), you could disable processing of unused data (e.g., referrers) to reduce load. In practice, this is rarely necessary. Contact support before disabling anything.

Extra Traffic Settings — Normally you won’t need to change these:

Trade by Country Quality

The script tracks which countries traders send you and tries to return traffic from those same countries. So if a trader sends you China traffic, you send them China traffic back.

If you trade with another system using the same logic, watch the initial trades—you might see country cycling (e.g., China for the first few hits, then only China after that).

Good/bad countries are configured in Settings → Quality Settings.

After All Trades from Outgoing List, Send To

Your outgoing list (typically 10-15 traders) is the default traffic destination. Once a user clicks through all traders on that list, you can choose: