Affiliate cookies overwriting

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

  1. kinitex

    kinitex Member

    Joined:
    Aug 28, 2009
    Messages:
    50
    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:
    2,295
    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 Member

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

    kinitex Member

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

Share This Page