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
The description on https://developer.matomo.org/api-reference/tracking-javascript for setCustomRequestProcessing() I understand so that the function is called directly before sending the request. Therefore, I expect all parameters to be included in it.
Your Environment
Matomo-Version: 4.7.1
PHP-Version: 7.2.23
Browser: Chrome 97
The text was updated successfully, but these errors were encountered:
@McSodbrenner The method configCustomRequestContentProcessing is called last when generating the request.
But the page performance parameters might not yet be available when the first tracking request is fired. If that is the case the parameters will automatically be included in the next request (on the same page). If you want to have all parameters in one request you might need to wait until the page load event is finished.
sgiehl
added
answered
For when a question was asked and we referred to forum or answered it.
and removed
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
labels
Feb 4, 2022
Current Behavior
I rewrite the GET parameters of the tracking request via setCustomRequestProcessing(). However, I noticed that the page performance parameters (https://developer.matomo.org/api-reference/tracking-api#optional-page-performancehttpsmatomoorgfaqhow-tohow-do-i-see-page-performance-reports-info) are not included there. They are added to the parameter string at a later time.
Expected Behavior
The description on https://developer.matomo.org/api-reference/tracking-javascript for setCustomRequestProcessing() I understand so that the function is called directly before sending the request. Therefore, I expect all parameters to be included in it.
Your Environment
The text was updated successfully, but these errors were encountered: