Affiliate cookies overwriting

Discussion in 'Troubleshooting' started by kinitex, Jan 14, 2016.

  1. kinitex

    kinitex aMember Pro Customer

    Joined:
    Aug 28, 2009
    Messages:
    48
    How do I turn this off so if affiliate #1 sends a user to my site, but the user does more research and ends up back on my page from affiliate #2, that #1 will still get the commission?
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,689
    There is not such option in aMember. It require customization of core file
    You can alter this behavior in file amember/application/aff/controllers/GoController.php
    in method indexAction before setCookie check if cookie is already exits and do not set it again in this case.
  3. kinitex

    kinitex aMember Pro Customer

    Joined:
    Aug 28, 2009
    Messages:
    48
    Ok so how do I check if cookie already exists? Sorry I'm not a good programmer...
  4. kinitex

    kinitex aMember Pro Customer

    Joined:
    Aug 28, 2009
    Messages:
    48
    Nevermind figured it out, thanks for the tip in right direction.

Share This Page