In order to track your affiliates and sub-affiliates, you must code your API integration to pass affiliate values into the CRM from your site's URL.
You must code your integration to accept values for ONE affiliate id and up to FIVE sub-ids. Although you can decide on what variable names to use, we recommend coding the affiliate variable to “affid” and all your sub variables from "s1" to "s5".
Here is what the URL tracking string will be if using the above variable names.
URL Tracking String: ?affid=[affid]&s1=[s1]&s2=[s2]&s3=[s3]&s4=[s4]&s5=[s5]
You would need to add this to the end of your sites URL, and be sure to add the proper affiliate id and pass it as "affid"
Ex: If you’re site is myoffer.com and your affiliate id is UZHTRL7C, then your URL Tracking String would be:
Please refer to the API Add Customer call/example: Click Here