Hi - I’m trying to use the TrackSiteByUrl (TrackSiteByUrl - automatically set idsite in tracking request based on current page’s URL · Issue #2371 · matomo-org/matomo · GitHub) for dynamic site tracking using the same tracking code on the pages. I’m trying to modify it slightly to add the site if the idsite isn’t found.
It seems like the plugin is running, but things are not initialized as it may expect them to be…for instance, there is an exception from Piwik::setUserIsSuperUser() due to ‘access’ not being a registered key in Zend_Registry.
Any ideas? I tried fudging the superuser access, but ran into additional things not configured.