Hi,
I was happily using the tracker proxy to hide my matomo Url and it worked fine under Matomo 3.x:
However, now I upgraded to Matomo 4.6.2 and it is not working anymore. The calls to proxy file in the tracking code now return a 400 Code.
Does anybody know where the problem could be?
Thanks
Jens
I solved the problem:
When updating to matomo 4.6.2 the database update did not work correctly. I saw the following error message in the matomo debug messages:
Unknown column ‘config_client_type’ in ‘field list’
So I updated the database with this mysql command:
ALTER TABLE matomo_log_visit ADD COLUMN config_client_type TINYINT( 1 ) NULL DEFAULT NULL;
Now the tracker proxy works again like a charm.
By the way: if you rename the tracker proxy directory and file to something other than “piwik” or “matomo”, the browser tracking filters won’t block you …
So the tracker proxy still works with matomo 4.6.2
Cheers
Jens
Just to be complete in case someone else encounters this problem:
I also had problems with ecommerce tracking after updating. The cart content was not transmitted via api.
After setting the incredibly helpful “debug_on_demand = 1”, I discovered that the column config_client_type was also missing from the log_conversion table.
I solved the problem with this mysql command:
ALTER TABLE log_conversion ADD COLUMN config_client_type TINYINT( 1 ) NULL DEFAULT NULL;
Cheers
Jens
1 Like