Digitalist-Open-Cloud / Matomo-Plugin-TrackerDomain

Matomo plugin to set tracker domain
https://digitalist.cloud/
1 stars 2 forks source link

It's doesn't work with php 8.1 and tag manager #4

Closed guytarr closed 1 year ago

guytarr commented 2 years ago

Hi, I've upgrade php (7.3 -> 8.1) and everything work fine but TrackerDomain in tag manager didn't work :( i think the problem is in function setTagManagerUrl... I didn't have any errror message in my php log files

image002

skitoxe commented 2 years ago

I have the same issue after upgrading. We now run Matomo 4.12.0 and PHP version 8.0.24. And no matter what i enter into the [TrackerDomain] url variable in confing.ini.php i get a blank page in Tagmanager installcode.

Starker3 commented 2 years ago

I checked and was able to confirm that the tracking code for the Tag Manager does not show up when using PHP 8+ Switching the site to PHP 7.4.30 allows it to show the tracking code again.

tomper00 commented 1 year ago

Ok confirmed here too, we are looking into it!

mikkeschiren commented 1 year ago

This should now be fixed in the latest releases, 0.3.0 and forward.

mikkeschiren commented 1 year ago

BTW - sort of happy to see bug reports - as it shows it used - but sorry for the bug itself.

skitoxe commented 1 year ago

@mikkeschiren I have now deployed this to our test enviroment and rolled it out to production as well. It works like a charm again! Thanks for your help 😃

mikkeschiren commented 1 year ago

Great :) Closing.

guytarr commented 1 year ago

This should now be fixed in the latest releases, 0.3.0 and forward.

Thank you