Referrals getting attributed to ‘Direct’

We are using the Affiliates Pro on our portal https://shop.udyojak.org.
Recently we have migrated the portal on a new server. After migration, referrals are being attributed to ‘Direct’.
The date of migration is 5.1.2020.
Refer these screenshots for more details:
1. https://drive.google.com/open?id=1RTz-Ab_JImDnpxiF5Pw9IKLWASxhFuk9
2. https://drive.google.com/open?id=1SA_rIsy-ZbBeDOb8ka4KtLEC66SwaMm2

What can be the reason that is causing this?


Comments

10 responses to “Referrals getting attributed to ‘Direct’”

  1. smartudyojak Avatar
    smartudyojak

    Hey George, Thanks for the solution of excluding the cookies from varnish plugin. But, still the problem of visits is not yet solved. This issue also is arising after migration.

    Refer the screenshot : https://drive.google.com/file/d/1Urfu8wysHxY8erMPh_PXMdmGF3yBkA6b/view

    Please help out as the pay per click is also enabled on the portal.

    1. Thanks for the screenshot! I would say that the results there are related to the caching – once you have excluded the parameters I mentioned in my previous reply, things should go back to normal.

  2. Hey,

    Thanks for providing access to your website.

    The issue is most probably related to Breeze cache plugin which utilizes Varnish cache and is known for dropping cookies including the cookie stored by Affiliates plugin. As a matter of fact when I follow one of your affiliates link, the cookie is not stored in my browser. In the screenshot here you can see that the affiliate cookie is missing.

    Regarding Varnish cache we keep instructions in our documentation on how you can adjust it and exclude Affiliates cookies from being removed. This operation might require you to also contact your hosting provider and mention this topic.
    Please try this and let me know if it works properly afterwards.

    Regarding your second question, I would say no because the cookie is stored on the user’s browser once the user visits an affiliate link. Therefore it is neither affected by the IP address nor can it change afterwards.

    Kind regards,
    George

    1. smartudyojak Avatar
      smartudyojak

      Hey George,

      Thank you so much for your suggestion the same ahs been suggested by the hosting provider i.e. to exclude affiliate cookie from varnish setting. But to exclude the cookie, we need to specify its name there. Can you tell me the name, that is to be mentioned there?

      1. Hi,

        There are two that should be excluded:

        – wp_affiliates
        – _h_affiliates

        Hope this helps you further 🙂

        Cheers

  3. Hi,

    Of course we can help!

    Does the same happen if you temp disable Affiliates Permanent? Which version of it is currently installed?
    It would also be handy if you can provide temp admin access to your site by sending the credentials to george at itthinx dot com and make sure that WP debugging is enabled. To enable debugging, edit your wp-config.php file and do the following:
    Replace this line: 

    define( ‘WP_DEBUG’, false );

    with these lines:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    All log messages will be stored in wp-content/debug.log file.

    Kind regards,
    George

    1. smartudyojak Avatar
      smartudyojak

      Hello George,

      As you said, admin login credentials has been sent to you on email, you mentioned earlier. Please check the inbox and revert.

      1. smartudyojak Avatar
        smartudyojak

        Hey George,

        After migration, IP address of the portal has changed. We have set referral timeout of 30 days. Hence, I would like to know whether the change in IP & referral timeout can cause such issues. Is there any provision to refresh the cookies of stored in the visitors device?

  4. smartudyojak Avatar
    smartudyojak

    Hello Goerge,

    We have renewed our licence and updated the plugins as well. But the issue is not resolved yet. We need the solution on this problem as soon as possible as this is causing the obstacle in our strategy implementation.

    Can you please help us out?

  5. Hi,

    Thanks for reaching support.

    There can be various reasons why this occurs ie the cookie failing to be stored on your browser, but in order to proceed you need to have the latest version of Affiliates Pro and Affiliates Permanent installed.
    In order to do so and since your license has expired, you should renew it by buying the plugins again and then proceed with updating through the Dashboard.
    FYI, access to updates and support for plugins bought from itthinx.com is valid for one year since the original purchase.

    Kind regards,
    George

Share