Jump to content

Idevaffiliate Integration - How To?


ATS Larry

Recommended Posts

We would like to integrate our affiliate script, iDevAffiliate with Blesta so that our affiliates / referrals get credit for the sales that they refer to us.

 

We first need to know what we need to put for the following variables so that the proper variables are accepted by the script.

 

01.18.2014-22.png

 

Then we need to know what pages we need to edit in order to put the following codes:

 

 Standard Integration Instructions  
How Processing Works You'll need to place some code into your sale confirmation page.  This is the page where your customers return to after making a purchase.  iDevAffiliate will then be included with all your sales.  If an affiliate exists for the customer, the affiliate will be credited appropriately.   Types of Commissions This code is required for both types of Pay-Per-Sale commission types.  If you're only using Pay-Per-Click, placing this code is optional but highly advised because iDevAffiliate will still update sales conversions which is needed for accurate clicks-to-conversion and marketing statistics.  The processing file (sale.php) will handle all 3 types of commissions (PPS %, PPS Flat Rate and PPC).   Pay-Per-Sale (Percentage) Processing Note In order for iDevAffiliate to calculate the payout, you'll need to have the sale amount present on your sale confirmation page.  This is the minimum requirement.  All the other variables including the order number are optional.  This can come from your merchant account, shopping cart or any other custom setup as long as the variables you're using are the same names you defined in your Commission Settings.  You can usually find these variable names in the support forum of the product you're integrating with.   Choose one of the following options and place your code.  You must alter all =XXX entries with the actual variable name your cart or merchant account uses.  Example: =${variable_name}  This will look different for all carts and merchant accounts.  Check their support forums for proper syntax.   Option 1: Hidden Image Tag Version Place the following code into your "sale confirmation" page.  

 

<img border="0" src="http://affiliates.atso.co/sale.php?idev_sunshop_1=XXX&idev_sunshop_2=XXX" width="1" height="1">

 

Make sure the above path is correctly pointing to your installation folder/directory.   Option 2: JavaScript Version Place the following code into your "sale confirmation" page.

 

<script language="JavaScript" type="text/javascript" src="http://affiliates.atso.co/sale.php?idev_sunshop_1=XXX&idev_sunshop_2=XXX">
</script>

 

Make sure the above path is correctly pointing to your installation folder/directory.   Option 3: PHP Version (for .php pages only) Place the following code into your "sale confirmation" page.
Note: Variables must be defined above code placement.  Use only a virtual path, not the relative path.

 

include ("../path/to/idevaffiliate/sale.php");

 

Make sure the above path is correctly pointing to your installation folder/directory.   Option 4: 3rd Party Affiliate Entry Place the following code if you have a designated area for 3rd party affiliate programs.
Note: This style is usually used within your shopping cart system.

 

http://affiliates.atso.co/sale.php?idev_sunshop_1=XXX&idev_sunshop_2=XXX

 

Make sure the above path is correctly pointing to your installation folder/directory.   iDevAffiliate will now be included in your sales.  If you're using Pay-Per-Sale and an affiliate exists for the customer, the affiliate will be credited with a commission.  If you're using Pay-Per-Click, iDevAffiliate will be updated with a sales conversion for the incoming click.
 

 

 

Perhaps, Paul, Cody or Tyson can help me out with this and let me know what I need to put in what location, so that this tracking working properly.

 

 

Thanks,

Larry

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...