Xyclops Software
Presents

Commission Junction xyCJXhelper

Buy Now!

Limited time special price of $14.95

*price per domain
Make sure you read the requirements first

Domain Name (mydomain.com)
Email address

xyCJXhelper is an easy to use toolkit that will boost your ad impressions exponentially while giving you the freedom and convenience of the new CJXbeta program offered by the Commission Junction affiliate network.

xyCJXhelper offers:

  • AdBlock-defeating routines for more impressions
  • Even easier ad placement
  • Global configuration of CJX links
  • Customizable affiliate link encryption
  • Automated ad parameter creation for easier content-specific ads
  • Simpler management of your resources
  • And more!

Why You Need xyCJXhelper

  • Managing individual ads sucks
  • Ads from ad providers are easily blocked
  • Breaking the affiliate chain is easy
  • Each extra ad = more work
  • Someone stole my affiliate link!
  • CJX lets you place ad blocks that do the work for you
  • xyCJXhelper dynamically hosts the ads
  • xyCJXhelper manages your affiliate links
  • All you change is the new CJX ad link
  • Encrypt links with your unique passphrase

Demo

Requirements

To run xyCJXhelper you require the following:

  • PHP 5 with GD support
  • Lower versions of PHP may work but are not supported
  • A CJX-beta approved account

How to Use xyCJXhelper

1 - Install

  • Copy the contents of the xyCJXhelper folder to your root directory.
  • If you want to store images in a folder other than the images directory, create that now (e.g. images/cjx/)

2 - Configure

  • Open the xy_config.php

  • Set the value MYBASEURL to your url (e.g. http://www.yourwebsite.com/). Do not forget the trailing '/'.
  • Set the 'images/' path to where you want to store your ad images (e.g. images/cjx/). Do not forget the trailing '/'.
  • Set the value 'this is an encode string' to a unique phrase. This will be used to encode your affiliate urls.
  • If you want your links to open in a new window, make sure the next line reads: define("NEWWINDOW", true);.
    • If you want links to open in the same window set it to read define("NEWWINDOW", false);
  • If you want your links to be NOFOLLOW links, make sure the next line reads: define("NOFOLLOW", true);.
    • If you want links to behave normally set it to read define("NOFOLLOW", false);

3 - Include the library

You must add the following to every page that wants to use xyCJXHelper: include_once('/full/path/to/xy_ad_functions.php');. This should be the full server path to your root directory. If you don't know your full server path, place the following code in a php file in your root directory and visit it in a browser: <?php echo getcwd(); ?>

If you have a cms, for example wordpress, then you can place this code in header.php or functions.php in your theme directory (in the case of wordpress - other cms software will have similar places to include the code). This will work for any php file that is included on every page.

4 - Place the advert code

Your ad placement code will look something like:
<iframe src="http://www.asdfg.com/cjx/placement/01234/728/90" width="728" height="90" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

You only need the code in the src element, so select and copy that:
<iframe src="http://www.asdfg.com/cjx/placement/01234/728/90" width="728" height="90" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

Paste the code into the following snippet (found in xy_sample.php):
<?php $xy_ad_src = 'http://www.asdfg.com/cjx/placement/01234/728/90';
$link = xy_ad_parse_contents($xy_ad_src, xy_get_current_page_url());
print($link);
?>

Paste the new snippet into your page where you want your ad to appear.

Adding new adverts is as easy as getting the ad code from CJ, and pasting a new snippet with the new src value. You can include the REFERRING_URL and CATEGORY parameters. If you don't include a REFERRING_URL parameter then xyCJXhelper will automatically create one for you while retrieving the ad code, in order to provide you with the most appropriate advert for your content.

Demo