Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Is it possible to integrate eStore with the shareasale affiliate network?
- This topic has 3 replies, 3 voices, and was last updated 11 years, 10 months ago by admin.
-
AuthorPosts
-
August 17, 2011 at 11:24 pm #4095SeizedPropagandaMember
We already use your WP-Affiliate plugin (which is great by the way), but we’re looking to add a second affiliate program with shareasale. Unfortunately eStore wasn’t on their list of supported cart solutions, but they provide some instructions on how to customize cart software to work with their network. I’ll paste the instructions below, and if a developer can point me in the right direction to get this set up I would greatly appreciate it:
All of the capitalized values listed in the code must be replaced by your web site/ecommerce system. These include:
1. The subtotal amount of the sale – referred to as the AMOUNT
2. The order number or unique identifier from that order – referred to as the TRACKINGNUMBER
3. The type of program, either a LEAD or SALE program – referred to as TRANSTYPE
The Shareasale.com tracking code can be used with any dynamic programming language, in order to incorporate the above 2 dynamic variables from your system. Examples include, but are not limited to ASP, Cold Fusions, .PHP, HTML/DHTML, CGI/Perl, JSP, Java, JavaScript, etc.
Example 1: (SALE PROGRAM)
In this example, a shopper on Shareasale.com Merchant number “31”, purchased a product or group of products that totaled a dollar amount of $14.95. The merchant assigned an internal order ID to this order of “475”.
The code needed for this situation would have been:
[https://shareasale.com/sale.cfm?amount=14.95&tracking=475&transtype=sale&merchantID=31]
Note that the color of the variable in the Shareasale.com code, match the above example.
The above code would be correct if, and only if:
1. The subtotal amount for the sale was $14.95
2. The order number was 475
3. The merchant was running a “Per-Sale” commission program on Shareasale.com
4. The merchant’s ID number with Shareasale.com was 31
Example 2: (LEAD PROGRAM)
In this example, a user on Shareasale.com Merchant number “11”, signed up for a free email newsletter. The user signing up was given “user@shareasale.com”.
The code needed for this situation would have been:
(You don’t need to use the email address as the unique identifier – you may use any unique value such as the Lead ID from your system, a date/time stamp, etc…)
The following code would be correct if, and only if:
1. The merchant was running a “Per-Lead” commission program on Shareasale.com
2. The person who signed up on the site, used the email address of “user@shareasale.com”
3. The merchant’s ID number with Shareasale.com was 11
(Note how with a per-lead program, the AMOUNT variable is filled in
with 0.00 but NOT LEFT OUT of the code entirely.
Here is the tracking code we have been provided:
<img src=”https://shareasale.com/sale.cfm?amount=AMOUNTOFSALE&tracking=TRACKINGNUMBER&transtype=TYPEOFTRANSACTION&merchantID=34014″ width=”1″ height=”1″>
Thank you for your time.
August 19, 2011 at 3:50 am #35634adminKeymasterIt will need some custom coding but it should be doable. The Merchant ID is your account ID for the shareasale account right?
Most of these information is available to your after the purchase. So basically from the “Thank You” page you need to execute the following code:
<img src=”https://shareasale.com/sale.cfm?amount=AMOUNTOFSALE&tracking=TRACKINGNUMBER&transtype=TYPEOFTRANSACTION&merchantID=34014″ width=”1″ height=”1″>
If you have the “Thank You” page delivery in place then you should be able to add this there.
January 16, 2013 at 5:54 pm #35635ChantalMemberI am needing to do the same thing. I need to integrate with ShareASale. Where would I get the dynamic variable for AMOUNT and PRODUCT ID?
January 17, 2013 at 5:22 am #35636adminKeymasterHi, We do not have any integration option with ShareASale (this is not an advertised feature of our product). Please use this form to get in touch with us for a custom job:
-
AuthorPosts
- You must be logged in to reply to this topic.