How long the affiliate cookie is alive for each reference?

when someone clicks on an affiliate link goes into my store but what if he doesn't buy anything and comes back another day and buys something... how would i know about who referred this client to me? how can i set the time that the cookie on the clients computer?

  • calvinrogercanas

    Hey there @Ronali De Silva,

    Hope you're well! :slight_smile:

    The default duration of affiliate cookie on a client is 30 days and you can change it by adding this code in your wp-config.php: define('AFFILIATE_COOKIE_DAYS',45); ( This is based on the info from the plugin's usage guide )

    Each of your affiliates got unique cookie so when a client click their affiliate link. A cookie will be injected on the client's computer and if the specific "action" like signing-up / buying happen our plugin will process it out then render an output ( the awesome graph / charts ) to see who got a conversion.

    Let me know if it helps! :slight_smile:

    Best Regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.