• Resolved wadih

    (@wadih)


    I wasn’t able to see the unique visitors for the year.

    I followed guide https://matomo.org/faq/how-to/faq_113/

    Contents of config.ini.php:

    ; <?php exit; ?> DO NOT REMOVE THIS LINE
    [General]
    enable_processing_unique_visitors_year = 1
    enable_processing_unique_visitors_range = 1

    Ran this, not sure what date to put for the yearly view:

    ./console core:invalidate-report-data –dates=”2022-12-08,2022-12-31,2021-12-31″
    ./console core:invalidate-report-data –dates=”2022″

    And tried to regenerate:

    ./console core:archive –force-all-websites

    But it’s still not seeing the unique numbers when I check for the year = 2022 or the range January 1st 2022 to December 8 2022.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support varunmatomo

    (@varunmatomo)

    Hi there, sorry for the delay.

    The number of unduplicated visitors coming to your website. Every user is only counted once, even if they visit the website multiple times a day.

    Unique visitors are determined using first party cookies stored in your visitor browser. When a same person visits your website on two different devices (for example their laptop and on their mobile phone) then Matomo (Piwik) will detect two unique visitors.

    If the visitor’s browser does not accept the Matomo cookie (if they have disabled, blocked or deleted cookies), a simple rule of thumb is used to try to match the visitor to a previous visitor with the same features (IP, browser, plugins, OS, etc). Read about all details in this other FAQ.

    Note that by default, unique visitors are available for days, weeks and months periods, but unique visits are not processed for the “year” period nor for a “date range” period (for performance reasons). Learn how to enable unique visitors for all date ranges.

    Are there any errors shown in your error log when completing the steps in the guide above?

    Plugin Support varunmatomo

    (@varunmatomo)

    Hi @wadih were the details provided of any help?

    Thread Starter wadih

    (@wadih)

    Hi Varun,

    I was never able to make it work.

    Even when I set it to force to regenerate all the time, and invalidating everything, I was never able to get unique visitors for a yearly timeframe.

    That was my debug config when I was forcefully trying to make it work:

    [Debug]
    always_archive_data_day=1 ; force archiving of all daily reports
    always_archive_data_period=1 ; force archiving for all period reports (week, month, year)

    And I also tried this:

    [General]
    enable_processing_unique_visitors_year = 1

    It was too bad I wasn’t able to produce it, as I produce these reports on January 1st for my customers, but didn’t get the unique numbers for the yearly basis.

    I’m open to test it further with you to get ready for next year.

    Is there anything else I can do? Are you able to generate unique numbers on a yearly basis yourself, if you setup a local installation on your end?

    Plugin Support varunmatomo

    (@varunmatomo)

    Hi @wadih

    Do you have Raw data deletion configured at all? Do you still have all of the raw tracking data for the entire year?

    Also can you confirm what report you are looking at. There is a bug with the KPI Metric widget for Unique Visitors, but the Visits Overview report should show the correct unique visitor metrics. 

    Plugin Support varunmatomo

    (@varunmatomo)

    @wadih Any update on your progress? Have you managed to address or resolve this issue?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Unique visitors for the year’ is closed to new replies.