Site content detection should be done in one place #20018
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone
The new Consent Manager, GA3, GA4, GTM detection mechanisms and existing
GtmSiteTypeGuesser
class don't check theenable_internet_features
config setting before calling out to the internet. It should check this config and do nothing if it is set to0
.As part of this task the
GtmSiteTypeGuesser
and newSiteContentDetector
could be improved to share code or at least logic - eg theSiteContentDetector
caches for 7 days, andGtmSiteTypeGuesser
caches for only 1 day, andGtmSiteTypeGuesser
avoids requests to certain hosts (see f839cb9#diff-47ed7c5049ee406ef66904e382872672fc2bd9864140609e7918b871f989ec6aR185)The text was updated successfully, but these errors were encountered: