When users visit a site for the first time by clicking on a link containing the reference of an affiliate, a cookie will be stored in their navigation session. Cookie’s name and duration (in seconds) can be set within the “Settings” section of the plugin.
Note: if you change the name of the cookie, all the cookies created up to that moment won’t work anymore.
Set cookie via Ajax
If you want to set affiliate cookies with an Ajax call when the system detects referral query string in the URL and, therefore, avoid issues with the cache system, you must enable the option Set cookie via Ajax.