Syntax

getAffiliateForEmail( email )

Returns the data previously assigned to the email by setAffiliateForEmail.

Access rights

Full access required.

Arguments

email – The email address of the future buyer

Return data

[data] => Array
(
   [affiliate_name] => some_affiliate
   [affiliate_id] => 123
   [campaignkey] => some-campaignkey
   [trackingkey] => some-trackingkey
   [click_id] => some-clickid
   [promoclick_at] => 2022-09-16 19:30:10
)

See also: setAffiliateForEmail