| Related topic(s):- | |
| Navigate to:- | |
| Enable Tracking | Affiliate SignUp | Customize Report | Operation Instructions | |
| Activate Affiliate Tracking CyberShop is affiliate enabled. The job is done by a hidden cookie named "Affiliate". The cookie is picked by the program on the shopping cart Check Out page (checkout.asp) and on the membership Sign Up page (apply.asp). The affiliate input field is visible on the two pages. You can turn it into a hidden one (so that visitors can't alter the contents). To start with, the cookie needs to be planted on the visitors' computers. This is handled by a simple ASP page, affiliate.asp or affiliate1.asp under the shopping cart folder (you can come up with your own ones). To track the referer from another site, simply insert the following code to any page (on another domain) that wishes to claim the referer,
The "affiliate.asp" page is located in the shopping cart folder. You should qualify it with the full domain + path (of your site), i.e. something like http://www.mysite.com/shopping_cart/affiliate.asp. The "id" variable identifies the referer site. If the companion CyberClub is used to sign up new affiliates, the site_id should be the CyberClub User Name of the affiliate (Email can also be used, but you need to alter the affiliate report page, cf. below). By default, affiliate.asp does not have a visible effect on the referer site. But you can alter the ASP page to display something (including links). A link to your site can be placed separately and arbitrarily. Alternatively, the referer site can directly hyper-link to the affiliate1.asp?id=site_id page (under the shopping cart folder of your site). The difference between the two is that affiliate.asp tracks the visitors even before a visitor clicks to you site. The cookie lasts for 7 days. You can adjust that on the page yourself (in HTML source mode or under Notepad). |
| Affiliate Sign Up When the CyberOffice Club add-on is used, new affiliates can sign up using the common CyberClub sign up page. You may want to create a new Account Type specially for affiliates. You need to give them the above instruction to add links on their sites to your site. Then give them the URL to the custom11.asp page under your shopping cart folder to track the real-time sales. You may publish the link on your site to this page. |
| Customize Affiliate Report Before the Affiliate Report page can be used, you may need to configure it. Some settings are on the top of the page (custom11.asp). You can alter them in HTML source mode or under Notepad. Here are a list of likely items to be changed,
The affiliate report works in terms of the status codes. Those status codes not included in the above will be under "Pending Commission" category. You can adjust the status codes, add new ones to the lines. Multiple entries are delimited by comma (","). COMMISSION_RATE is a decimal number (i.e. not a percentage number). STATUS_TO_PAY
typically means the order has been completed/shipped. STATUS_PAID indicates that orders
under that category have been paid commissions. You will probably need to introduce a new
status code, same as STATUS_TO_PAY, but is internally known as commission paid. A
COMMISSION_PAID message will be appended to the Status Description on this page to
distinguish the two. <script language="JavaScript">login("<%=sMemberLogin%>check.asp?GroupID=0+1+2");</script> which says that GroupID = 0, or 1, or 2 can view this page. You might want to take out
0 (it typically means "End Customers"). After Membership Login, it automatically
set the "UserName" as the Affiliate ID. It is possible to use the
"Email" field instead. You can alter the relevant codes in the JavaScript
function "function setAffiliate()". |
| Operation Instructions Select/Set the following fields, Affiliate: For an affiliate to view the report, enter the affiliate ID into the Text box. If a CyberClub is configured, the affiliate ID is automatically set after Login and is read only. The administrator (after login to the Shop Manager) can select an existing "Affiliate" from the drop down list. Start Date: Enter a start date for a date range (optional). End Date: Enter an end date for the date range (optional). Status Codes: Uncheck to exclude that class(es) of orders from the result list. Click on the Submit button to view the report. For the administrator, the Order ID is hyper-linked to the order details page to manage the order. |
| Any comments, suggestions, or questions? Write Us! | |
| © SmartWin Technology, 1997-2004 |