affCAFF For Affiliates - How to Use affCAFF

Home
General Links
For Affiliates
For Affiliate Programs
Content
What are affCAFF Snippets?
affCAFF "snippets" are one-liners of code, either using PHP or Javascript (your choice!) to display self-updating bonuses and promotions on your website. A typical PHP "Snippet" to show the latest signup bonus from 32Red Casino would be called from your page like this:

<?php @readfile("http://www.affcaff.com/080525583434/snippets.txt?show=32red_casino|bonus"); ?>

A typical "Javascript" snippet to show the same data looks like this:

<script language="Javascript" src="http://www.affcaff.com/080526553434/bonus/32red_casino/snippets.js" type="text/javascript"></script>

The number "080526553434" in the example is the unique ID allocated to your domain and emailed to you when you register with Snippets.

The code above would display the information something like this:

100% Welcome Bonus To /100

»...Full List of Property Codes (PHP Users)
»...Full List of Property Codes (Javascript Users)


Run A Quick Test (Javascript)
To quickly test Snippets on your own site, copy and paste the following code into one of your HTML pages. Note that the "000000000000" is a TEST code - if the test is successful, please register to get a code unique to your site:

<script language="Javascript" src="http://www.affcaff.com/000000000000/bonus/lucky_nugget_casino/snippets.js" type="text/javascript"></script>

You should see the latest Lucky Nugget Casino sign-up bonus if it is working correctly.

Run A Quick Test (PHP)
As long as you run PHP pages (most HTML pages can run PHP too - see how) you should be able to incorporate affCAFF Snippets. If you have the full affCAFF install, your domain is already registered to use Snippets, so there is no need to register and activate a seperate Snippets account.

To quickly test Snippets on your own site, copy and paste the following code into one of your PHP pages (HTML users should read this). Note that the "000000000000" is a TEST code - if the test is successful, please register to get a code unique to your site:

<?php @readfile("http://www.affcaff.com/000000000000/snippets.txt?show=lucky_nugget_casino|bonus"); ?>

You should see the latest Lucky Nugget Casino sign-up bonus if it is working correctly.

How Do I Use Snippets?
Simply register the domain (website) on which you intend to use them, and you will receive an "activation" email. Once you have activated your domain, you will receive instructions on how you can simply put one line of code in your page to retrieve a bonus or promotion for a given property.

Code List
To see a full list of bonuses promotions for all affCAFF properties and the code you need to use to call them, click here.


Copyright © 2008-2017 affCAFF.com