Hello,
I'm a volunteer for a non-profit (Until There's A Cure
Foundation--www.utac.org) and we're trying to implement a third-party
affiliate program that requires adding Javascript to the thankyou page.
The code is:
<img
src="https://interneka.com/affiliate/WIDLink.php?WID=000000&TotalCost=###.##&OrderID=&&&&&&"
width=1 height=1>
WID - user name with affiliate system
TotalCost - sales amount
OrderID - transaction number
We got this information from ShopSite:
ShopSite Pro v7.0 and newer includes JavaScript variables in the <head>
section of the thankyou screen containing most of the order information.
So it looks like they would need to use ss_subtotal or ss_ordertotal for
their TotalCost, and ss_ordernum for their OrderID.
They would use JavaScript to document.write their image tag with these
variables in them.
Unfortunately we have no one that knows Javascript. The affiliate network
rep is trying to help but so far they have not come through with a solution.
Does anyone know how to code this Javascript based on the information above?
Any help will be sincerely appreciated.
Thanks,
Dave