@tsteur opened this Pull Request on April 15th 2020 Member

fix https://github.com/matomo-org/matomo/issues/14978

As described in the issue we need to make sure that setCookieNamePrefix is executed before setSiteId.

Because the method is now executed early, we now longer really need to get the custom variables from cookie there because the method is executed so early that it will be loaded correctly later as part of loadCustomVariables. Nonetheless loading them if it was attempted to load them earlier eg when there is a manually created tracker instance that isn't using _paq.push but tracker.setCookieNamePrefix()

@sgiehl commented on April 15th 2020 Member

build js

This Pull Request was closed on April 15th 2020
Powered by GitHub Issue Mirror