charly Posted September 15, 2005 Share Posted September 15, 2005 Trying to add trade doubler redirect page and traacking code has any one this before ? Trade doubler is a affliate program so until this is fixed we can not receive any traffic :-( just ask for any info ? Charly My fav site Spend most my cash there dont tell the wife:-) Link to comment Share on other sites More sharing options...
♥toyicebear Posted September 15, 2005 Share Posted September 15, 2005 Tradedoubler - Kelkoo sales tracking The search functions is your friend.............. Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
charly Posted September 16, 2005 Author Share Posted September 16, 2005 Hi Thanks i think its a diffrent trade doubler. heres the code i need to put on checkout success but not sure how to add it all PHP ? Sale <? //Fetch session named TDUID session_start(); $tduid = ""; if (!empty($_SESSION['TDUID'])) { $tduid = $_SESSION['TDUID']; } //Fetch tduid cookie named TRADEDOUBLER if (!empty($_COOKIE["TRADEDOUBLER"])) { $tduid = $_COOKIE["TRADEDOUBLER"]; } //Change to organization id provided by TradeDoubler $org_id = 222404; //Change to secret code provided by TradeDoubler $secretcode = "1121"; //Change to the order value of the current order or "1" if lead //Cannot consist of, (comma) or spaces. Decimal sign is . (dot) // Important no thousand separators. $orderValue = "102.50"; //Change to the unique order number or lead number $orderNumber = "111"; //event supplied by TradeDoubler $event = 1211; //Only needed if your TradeDoubler program has a different currency then the order $currency = "GBP"; //Create the checksum $chk = "v04" . md5($secretcode.$orderNumber.$orderValue); /*////////////////////////(Optional feature)/////////////////////////// Product info report Example product (you can add multiple products. Add | between them (f1...&f2...&f3...|f1...&f2...&f3...) ) f1 is product number f2 is product name f3 is product value. Use dot (.) as decimal sign and no thousand separators. Below is an example; you must replace the products values. */ $reportInfo = "f1=ProdNr01&f2=ProdName1&f3=100.00&f4=2|f1=ProdNR02&f2=ProdName2&f3=1000.00&f4=1"; //Important! reportInfo parameter need to be URLEncoded in UTF-8 format. CONFIDENTIAL This product is the subject of patent no. 9904115-4, filed 1999 - 2001 ? 2004 TradeDoubler AB 19 $reportInfo = urlencode($reportInfo); ///////////////////////////////////////////////////////////////////// echo "<img src=\"http://tbs.tradedoubler.com/report?organization=".$org_id."&event=".$event."&orderNumber=".$orderNumber."&orderValue=".$orderValue."¤cy=".$currency."&checksum=".$chk."&reportInfo=".$reportInfo."&tduid=".$tduid."\" >"; //To test if TradeDoubler works, login on the website and click on "Check //implementation" in the menu. Follow the instructions on this page to complete the //test. ?> Charly Charly My fav site Spend most my cash there dont tell the wife:-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.