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 v6.0

Pretty much identical to v4.x below.

iDevAffiliate v5.0

Pretty much identical to v4.x below.

iDevAffiliate v4.0

IMPORTANT: If you're using FoxyCart prior to v0.7.0 you'll need to host iDevAffiliate securely over SSL (https).
  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^^, and surround the code with the receipt only tags to prevent re-triggering the code if you use re-visitable receipts:
    ^^receipt_only_begin^^<img border="0" src="https://www.YOURDOMAIN.com/idevaffiliate/sale.php?idev_saleamt=^^order_total^^&idev_ordernum=^^order_id^^" width="1" height="1">^^receipt_only_end^^
  4. Create a separate receipt template in your FoxyCart admin. Include your modified code at the bottom of your template.
integration/idevaffiliate/basic_affiliate_tracking.txt · Last modified: 2011/11/17 10:36 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki