setAffiliateForEmail
Syntax
setAffiliateForEmail( email, affiliate, campaignkey='', trackingkey='', click_id='' )
Assigns an affiliate, campaign key and tracking key to an email address.
If the buyer makes an order using this email address, the purchase will be assigned to the tracking data provided
Access rights
Full access required.
Arguments
email – The email address of the future buyer
affiliate – The affiliate's Digistore24 ID
campaignkey (optional) – The affiliate's campaign key
trackingkey (optional) – Your tracking key
click_id (optional) – Your affiliate's click ID (for their S2S postback connection)
Return data
none
See also: getAffiliateForEmail
Was this helpful?