Random Affiliate

Hi Guys –

Is it possible redirect to a random affiliate if no affiliate is specified in the URL or no cookie is set on the browser?

Thanks for your help.

Christopher

Posted in

Comments

One response to “Random Affiliate”

  1. Hi Christopher,

    It can be done using the API, for example as a plugin that hooks into the process where the referring affiliate is identified and chooses a random one when appropriate.

    The affiliates_service_affiliate_id filter that can be used for that is defined in Affiliates_Service::get_referrer_id.

    Cheers

Share