Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Matomo (tracker): Invalid idSite: '0' #15700

Closed
dimitrispie opened this issue Mar 17, 2020 · 2 comments
Closed

Error in Matomo (tracker): Invalid idSite: '0' #15700

dimitrispie opened this issue Mar 17, 2020 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@dimitrispie
Copy link

I found the following errors in the log file when I try to import logs to Matomo 3.12.0:

[Mon Mar 16 14:56:26.176472 2020] [php7:notice] [pid 13028] [client xxx.xxx.xxx.xxx:44512] Error in Matomo (tracker): Invalid idSite: '0'
[Mon Mar 16 14:56:26.790345 2020] [php7:notice] [pid 12982] [client yyy.yyy.yyy.yyy:53714] Error in Matomo (tracker): An unexpected website was found in the request: website id was set to '9222222' ., referer: http://localhost:4200/admin/registrations?requestSortBy=registrationdate&order=DESCENDING&page=0&size=25

@Globulopolis
Copy link
Contributor

Same errors in php error log

[10-Mar-2020 09:52:23 UTC] Error in Matomo (tracker): An unexpected website was found in the request: website id was set to '8' .
[10-Mar-2020 09:52:24 UTC] Error in Matomo (tracker): An unexpected website was found in the request: website id was set to '10' .

Site ID can be different.

@tsteur
Copy link
Member

tsteur commented Mar 17, 2020

I suppose your site is still tracking in general? Make sure you always configure a siteId in your tracking code. Otherwise it would use 0 and the tracking wouldn't work. Also different siteIds could be technically set by anyone, eg 9222222 and they could be sending false tracking requests to your Matomo. Maybe double check that these IDs aren't set by your site or application. If that's all good, then you can ignore these.

@tsteur tsteur closed this as completed Mar 17, 2020
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants