Table of Contents
type:
integration
system:
iDevAffiliate
name:
iDevAffiliate Tracking
description:
Basic iDevAffiliate tracking for FoxyCart
tags:
affiliate,
tracking,
tutorial

iDevAffiliate Integration

Integrating iDevAffiliate with FoxyCart is simple. Here's a quick rundown:

iDevAffiliate v5.0

Pretty much identical to v4.x below.

iDevAffiliate v4.0

IMPORTANT: You'll need to host iDevAffiliate securely (https://). In future versions of FoxyCart we plan on allowing the receipt to be loaded over http, but for now you'll need your own cert on your own server. We recommend GoDaddy, as you can get a cert for a little as $30 USD.
  1. Check iDevAffiliate's page for instructions.
  2. Login to your iDevAffiliate manager and click on the Cart Integration link.
    • It doesn't matter what you call your variable names. All that matters is that you put in the right placeholders later, so just call your variable names something descriptive like order_total and order_id.
    • iDev will generate some code that should look something like this:
      <img border="0" src="https://www.YOURDOMAIN.com/idevaffiliate/sale.php?idev_saleamt=XXX&idev_ordernum=XXX" width="1" height="1">
  3. Replace the XXX with FoxyCart placeholders like ^^order_id^^ and ^^order_total^^.
  4. Create a separate receipt template in your FoxyCart admin. Include your modified code at the bottom of your template.