Phone: 407-551-0777  Email: sales@adcomplete.com
Home Contact Support Privacy
  Home
  Purchase
  Features
  System Requirements
  Preview Demo
  Support
  Installation
  FAQ's
  Our Clients
  What's New
  Affiliate Program
How can I capture and store the Affiliate ID?
If you would like to capture and store the Affiliate ID for a sale or lead in your database, here is one method.  We supply a page called AffiiliateID.asp that can be used to embed the AffiliateID into a form as a hidden form field.  For example:

<input type="hidden" name="AffiliateID" value="233">

To embed the AffiliateID as a hidden form field, use:

Version 3.0
<script language=javascript src=http://www.yourdomain.com/affiliatewiz/affiliateid.asp?Name=AffiliateID></script>
Version 4.0 and higher
<script language=javascript src=http://www.yourdomain.com/affiliatewiz/affiliateid.aspx?Name=AffiliateID></script>

The name allows you to change the name of the hidden form field if you do not wish to call it AffiliateID.  For example, changing Name=AffiliateID to Name=Affiliate will result in:

<input type="hidden" name="Affiliate" value="233">

Now that the AffiliateID is being passed in the form as a hidden field you can then capture the field and store it in your database.  As an example, suppose you have a signup form which posts to a page which stores the information in your database.  You can embed the line of Javascript within the form so that the AffiliateID is captured as a hidden form field.  Once posted to the page which inserts the form fields into a database you can capture and insert the AffiliateID along with the other form fields.

Note: This feature is available in version 3.0 and higher only.

Copyright © 2000-2008 AdComplete.com, LLC All Rights Reserved