plugin-VisitorGenerator icon indicating copy to clipboard operation
plugin-VisitorGenerator copied to clipboard

Test data does not appear for site as expected

Open chrissound opened this issue 1 year ago • 2 comments

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 avatar Sep 04 '24 16:09 chrissound

Also tried with 5.1.0 same result

chrissound avatar Sep 04 '24 18:09 chrissound

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?

snake14 avatar Sep 04 '24 22:09 snake14

@chrissound Any update ? Can we close this issue ?

AltamashShaikh avatar Oct 30 '24 03:10 AltamashShaikh

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

AltamashShaikh avatar Nov 05 '24 03:11 AltamashShaikh