You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been testing this SDK and in general it works well. However, I haven't found a way to tell if incorrect values were set for the site ID or auth token, as the response to $tracker->doTrackPageView(...) is always the same.
I have noticed the visit is not tracked by the server if any of those values is wrong (let's say you have a typo n the auth token, or the site ID is not known by Matomo server), but the method does not throw any exception or return a different result, so it could pass unnoticed for some time.
The text was updated successfully, but these errors were encountered:
Hi @acelaya. Thank you for creating the issue and bringing this to our attention, that's very appreciated. We have reviewed and triaged the problem internally.
Our tracking endpoint always returns the same on purpose. As the php sdk only sends requests to the tracking endpoint, there is no way to validate if a request was valid or not.
I have been testing this SDK and in general it works well. However, I haven't found a way to tell if incorrect values were set for the site ID or auth token, as the response to
$tracker->doTrackPageView(...)
is always the same.I have noticed the visit is not tracked by the server if any of those values is wrong (let's say you have a typo n the auth token, or the site ID is not known by Matomo server), but the method does not throw any exception or return a different result, so it could pass unnoticed for some time.
The text was updated successfully, but these errors were encountered: