matomo-org / plugin-DeviceDetectorCache

Makes tracking in Matomo Analytics faster by detecting many devices, operating systems, bots, and browsers from a cache.
https://matomo.org
GNU General Public License v3.0
3 stars 7 forks source link

DeviceDetector Cache not adding Client and Device parsers when cache is set #27

Closed AltamashShaikh closed 3 years ago

AltamashShaikh commented 3 years ago

DeviceDetector Cache not adding Client and Device parsers when cache is set.

When the cache is set the device detector tries to set only the UA and due to which no client and device parsers are set. It leads to an error like isLibrary in TrackingSpamPrevention Plugin.

To fix this we need to call the parent::__contruct method instead of setUserAgent.