Share-A-Sale Integration

Discussion in 'Integration' started by mtrautschold, Nov 17, 2009.

  1. mtrautschold

    mtrautschold New Member

    Joined:
    Aug 29, 2006
    Messages:
    3
    Hi,

    I figured out how to integrate Share-A-Sale affiliate system to Amember Pro (I'm running v2.3.9PRO), but it might be similar with newer versions.

    Edit this file: thanks.html

    Usually found in this directory: amember / templates

    Add these lines of code above this line "{/if}{* END Of receipt display *}"

    <!-- Share-a-sale portion begin -->
    <img src="https://shareasale.com/sale.cfm?amount={$total|string_format:'%.2f'}&tracking={$payment.payment_id}&transtype=sale&merchantID=YOURMERCHANT_ID" width="1" height="1">

    Change "YOURMERCHANT_ID" to your Share-a-sale ID.

    We are just getting started with Share-A-Sale, so I cannot comment on how well the program works for us. Hopefully, we have some good results in the coming months.
  2. tludi

    tludi New Member

    Joined:
    Apr 22, 2010
    Messages:
    8
    hi

    how do you get around the customer refreshing the page and triggering multiple sales?

    tludi
  3. bfritton

    bfritton Certified aMember Developer

    Joined:
    Oct 26, 2009
    Messages:
    54
    I'm reviving this post because we are going to start using share-a-sale. Tludi's question is a good one. Can this be placed on any other include page or something instead of the thanks page so that multiple sales are not incorrectly tracked?

    Thanks in advance for any guidance.
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Does this actually trigger multiple sales if customer refresh thanks page?
    I think shareasale should have protection against this.

Share This Page