0 Replies Latest reply on Apr 8, 2008 12:44 PM by masoud_amen

    affiliate reporting

    masoud_amen Level 1
      Hi.I put the affiliate program in my web site.the code is:

      <form>
      <textarea cols="60" rows="10" name="affilateSource">
      &lt;form name="search" action="<CFOUTPUT>#urlPath#Search/index.cfm</CFOUTPUT>" method="post">&lt;table background="<CFOUTPUT>#imagePath#</CFOUTPUT><hr />&lt;div style="padding-top:11px;padding-left:49px; text-decoration: none; color:#6699CC; font-size:12px; font-weight:bold;">Supplements Finder &lt;span style="color:#666666; font-size:11px">- Enter Product, Brand, OEM or Product #&lt;/span>&lt;/div>&lt;div style="margin:15px;margin-bottom:3px;margin-left:40px;margin-top:5px;margin-right:5px">&l t;table width="100%" cellpadding="0" cellspacing="0" border="0">&lt;tr>&lt;td>&lt;input type="text" name="searchValue" value="" size="35"> &lt;input type="submit" name="searchSubmit" value="Find">
      &lt;input type="hidden" name="searchAffiliate" value="<CFOUTPUT>#UrlEncrypt(session.affiliateInfo.userid, encrytionKeyAffiliate)#</CFOUTPUT>">&lt;br>&lt;a href="<CFOUTPUT>#urlPath#index.cfm?affiliate=#UrlEncrypt(session.affiliateInfo.userid, encrytionKeyAffiliate)#</CFOUTPUT>">&lt;img src=" http://imedmart.com/images/logoSmall.jpg" border="0">
      &lt;/td>&lt;/tr>&lt;/table>&lt;/div>&lt;/td>&lt;/tr>&lt;tr>&lt;td>&lt;hr>&lt;/td>&lt;/tr>& lt;/table>&lt;/form>
      </textarea>
      </form>

      and seems works fine.
      but I dont know when someone buys something how can I figure out they are comming directly or from one of the affiliates.I got their affiliate_id but I dont know how or where I should use it to trace their staus and give their commissions.
      thank u.