Announcement

Collapse
No announcement yet.

Integrating with Affiliate Window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Integrating with Affiliate Window

    Hi all - very basic question about Affiliate Window but can't find related posts to the recent version of their tracking software in the forums.

    Using V7 MU of Actinic

    I have put the AWin tracking code at the bottom of ActOrder04

    however what do I put as the variables in the 4 variables below?

    // Set your transaction parameters
    var aw_mid = 'MY AWIN REF NUMBER';
    var aw_sale = '';
    var aw_extra = '';
    var aw_parts = '';
    var aw_test = '';

    We want to pay a set amount of commission on net of VAT and P+P sales.

    Thanks

    Phil
    Last edited by the_bfb; 26-Jan-2007, 01:30 PM. Reason: spelling mistake!

    #2
    Hi Phil,

    It is possible to add markup to the Actinic's receipt page in order to support an affiliate program. The markup is generally specified by the affiliate program, but a typical example would be:
    <IMG SRC="https://www.server.com/log.cgi?amount=[order-amount-here]&orderid=[order-id-here]">
    Translating this into a Actinic ready line, you would get:
    <IMG SRC="https://www.server.com/log.cgi?amount=NumericOrderTotal&orderid= TheOrderNumber">
    The variables available to an affiliate program of this nature are:
    TheOrderNumber - order number.

    FormattedOrderTotalHTML - the order total formatted in the appropriate currency and encoded for HTML display e.g. £55.57

    FormattedOrderTotalCGI - the order total formatted in the appropriate currency and encoded for CGI e.g. %a355%2e57

    ActinicOrderTotal - the order total formatted in the Actinic internal format (integer number in currency base unit) e.g. 5557

    NumericOrderTotal - the order total partially formatted in the appropriate currency. This value include decimal and thousand separators, but leaves off the currency symbol. e.g. 55.57

    NumericOrderTotalCGI - the order total partially formatted in the appropriate currency and encoded for CGI. This value include decimal and thousand separators, but leaves off the currency symbol. e.g. 55%2e57

    TextOrderTotal – The order total with currency symbols and a decimal point, with no encoding. e.g. £55.57

    This is from the Advanced Users Guide. A search on the forum for 'Affiliate Windows' should provide a lot of threads dealing with this topic.

    Kind regards,
    Bruce King
    SellerDeck

    Comment

    Working...
    X