Once the offline code is setup by the manager in the back office, a field within the customer signup form needs to be added to allow new customers to register and input this code.
There are two supported methods for processing customer registrations that use offline codes.
Method 1: Via CSV Registration File
MyAffiliates can accept an Offline Code directly within the customer registration CSV file.
Normally, a customer registration must include a tracking token to associate the customer with an affiliate. However, when a customer registers using an offline code, no tracking token exists because no affiliate tracking link was clicked.
When using offline codes, an additional ‘offline_code’ column can be included in the customer registration file. The value in this column is used by MyAffiliates to identify the affiliate associated with the customer.
It is expected that the offline codes already exist in MyAffiliates and are valid. Validation can be performed by the data provider using API Feed 15 before submitting the registration.
If both a tracking token and an offline code are supplied for the same customer:
Method 2: Via API Feed 8
This approach is similar to Method 1, except that customer registrations are submitted through API Feed 8 instead of a CSV file.When using Feed 8, the customer's offline code can be supplied directly without first converting it into a tracking token.Alternatively, the data provider may choose to validate the offline code by calling API Feed 15. Feed 15 validates the offline code and returns the corresponding tracking token. If this approach is used, the customer registration submitted through Feed 8 should contain either the tracking token or the offline code, but not both.
If a tracking token is obtained from Feed 15, it is included in the customer registration submitted via API Feed 8. The registration is then processed in the same way as a standard customer registration originating from an affiliate tracking link.
API Path: Home > Reporting > XML APIs > Feed 8
Further information can be found in the API feed documentation.
Note: Before submitting offline codes or tracking tokens through registration files or API feeds, please contact the MyAffiliates Support team. The most appropriate integration method depends on how data is being sent to MyAffiliates, and our Support team can advise on the best approach for your specific implementation.
Was this article helpful?
Thank you for your feedback!
You are related to multiple companies. Please select the company you wish to login as.