matomo-org / plugin-VisitorGenerator

Plugin to create fake visits, websites, users and goals to populate Matomo reports
https://matomo.org
GNU General Public License v3.0
19 stars 22 forks source link

Test data does not appear for site as expected #152

Closed chrissound closed 1 week ago

chrissound commented 2 months ago
root@93f04dae4691:/var/www/html# ./console visitorgenerator:generate-visits --idsite 1                     
Generating visits for 2024-09-04...
ERROR     [2024-09-04 16:46:10] 502  Uncaught exception: /var/www/html/vendor/matomo/matomo-php-tracker/MatomoTracker.php(2079): You must first set the Matomo Tracker URL by calling
                 MatomoTracker::$URL = 'http://your-website.org/matomo/'; [Query: , CLI mode: 1]

In MatomoTracker.php line 2079:

  You must first set the Matomo Tracker URL by calling                       
                   MatomoTracker::$URL = 'http://your-website.org/matomo/';  

visitorgenerator:generate-visits [--idsite IDSITE] [--days DAYS] [--start-date START-DATE] [--no-fake] [--no-logs] [--limit-fake-visits LIMIT-FAKE-VISITS] [--custom-matomo-url CUSTOM-MATOMO-URL] [--timeout TIMEOUT] [--non-profilable]

root@93f04dae4691:/var/www/html# ./console visitorgenerator:generate-visits --idsite 1 --custom-matomo-url "http://**.***.***.**/"
Generating visits for 2024-09-04...

idsite = 1
1790 Visits generated
747 requests per second

Test data does not seem to appear after that? 2024-09-04-17:47:44

I'm using it with the matomo:5.1.1-fpm dockerhub version

chrissound commented 2 months ago

Also tried with 5.1.0 same result

snake14 commented 2 months ago

Hi @chrissound . Thank you for taking the time to create this issue. I'm sorry to hear that you're experiencing this problem.

Something to check are the exclusions in the measurable settings, as they can prevent visits from being tracked for your site: image

It shouldn't make a difference, but I often use the --no-logs option when using the VisitorGenerator. Have you tried that?

AltamashShaikh commented 1 week ago

@chrissound Any update ? Can we close this issue ?

AltamashShaikh commented 1 week ago

Closing this due to inactivity, please feel free to re-open or create a new issue, if you are still facing this issue.