Avantlink Affiliate Program tracking script?

General ShopSite user discussion

Avantlink Affiliate Program tracking script?

Postby tahoemountain » Fri Oct 31, 2008 12:02 pm

Is anybody using the Avantlink affiliate program? If so, how have you managed to write the script for their tracking needs with the shopsite variables and specifically, how did you do it for multiple item orders?

Here is what I have so far, but it is causing problems on the thank you page with the order confirmations:

<script type="text/javascript">
function init()
{
var oi = ss_sku[0] + "|" + ss_price[0] + "|" + ss_quantity[0];
var i = 1;
for (i = 1; i < number_products; i++) { oi += "~" + ss_sku[i] + "|" + ss_price[i] + "|" + ss_quantity[i]; }
document.write('<scr'+'ipt type="text/javascript" src="https://tracking.avantlink.com/avant_rfpc.php?mi=10337&ot=' + ss_subtotal + '&on=' + ss_ordernum + '&oi=' + oi + '"><\/scr'+'ipt>');
}

onload=init;
</script>


Here is the Avantlink script example:
<script type="text/javascript" src="https://tracking.avantlink.com/avant_rfpc.php?mi=[MERCHANT_ID]&ot=[ORDERTOTAL]&on=[ORDERNUMBER]&oi=[ORDERITEMS]"></script>

I need to replace shopsite variables and also need it to track multiple items. Any advice is appreciated.

Thanks
tahoemountain
 
Posts: 11
Joined: Tue Apr 01, 2008 12:40 pm

Will pay for help!!!

Postby tahoemountain » Mon Nov 03, 2008 10:40 am

IF anybody out there is interested, I will pay for a solution to this. Please pm me or reply here if interested.
tahoemountain
 
Posts: 11
Joined: Tue Apr 01, 2008 12:40 pm

Postby MarLynn » Wed Nov 12, 2008 12:21 pm

I have a similar problem. I have an affiliate that I need to track member id's to their individual purchases. I can track the affiliate but no further. Can this be done? If not, I need to find another shopping cart solution.
MarLynn
 
Posts: 2
Joined: Wed Nov 12, 2008 12:18 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 125 guests