Similar issue to: https://github.com/matomo-org/matomo/issues/20189
Tracking requests are processed without errors.
We are working with this patch to AdvertisingConversionExport/Tracker/RequestProcessor.php
:
--- RequestProcessor.php
+++ Patched.php
@@ -93,7 +93,8 @@
$rawParams = $request->getRawParams();
- parse_str(parse_url($rawParams['url'] ?? '', PHP_URL_QUERY) ?? '', $params);
+ $rawUrl = is_string($rawParams['url']) ? $rawParams['url'] : '';
+ parse_str(parse_url($rawUrl, PHP_URL_QUERY) ?? '', $params);
foreach ($providers as $provider) {
if (empty($provider::CLICK_ID_REQUEST_PARAM)) {
This is a premium plugin, so it is not easy to get a diff, nor to create an issue on the plugin repo.
Tracking hits include utm_campaign[]=....
form get parameters that decode into arrays, not simple strings.
These are "bad" tracking hits, in the sense that utm_campaign[]=...
are not technically correct, but we should not be failing hard on processing these hits. Specifically, these errors stall out processing while using the QueuedTracking plugin, and stall all processing of the queue, similar to https://github.com/matomo-org/plugin-QueuedTracking/issues/192
This issue has been mentioned on Matomo forums. There might be relevant details there:
https://forum.matomo.org/t/mediaanalytics-error-message/48642/5
@AltamashShaikh could you have a look at this one pls.
@sgiehl I will have a look
@djmetzle For issue w.r.t premium features please contact [support@matomo.org](mailto:support@matomo.org) which will help you get an answer quickly.
Anyways I tried replicating the issue by creating the URL something like thishttp://localhost.demo.com/?yclid=test&utm_campaign[]=1&utm_campaign[]=2
and I can see this works though
Do you have a example URL where we can reproduce this ?
Hey @AltamashShaikh, sorry to leave you hanging!
I've posted a detailed comment about our situation here:
https://github.com/matomo-org/matomo/issues/20189#issuecomment-1379690414
These recent troubles all seem related to type errors caused by a (potential?) bug in UrlHelper, and recent changes to DeviceDetector?
I've been sweeping the forums and the issues on the main matomo repo, and these errors seem (to me at least) similar and related.
@djmetzle Cannot find a sample URL in the above comment, it would be good to share the sample URL causing such issue, so that we can debug and fix it.
Just FYI, I tried hitting the same URL by enabling QueuedTracking plugin and tried to process the queue later to replicate the issue and it worked as expected