Hello there,
we noticed after an update of our Matomo Server from Matomo 3 to Matomo 4.14.2 that there is a problem with the API Wrapper for SitesManager. getJavascriptTag as they changed the variable types for visitorCustomVariables and pageCustomVariables to array (array visitorCustomVariables = 'Array', array pageCustomVariables = 'Array').
It would be great if you could advise on this topic.
Hello there, we noticed after an update of our Matomo Server from Matomo 3 to Matomo 4.14.2 that there is a problem with the API Wrapper for SitesManager. getJavascriptTag as they changed the variable types for visitorCustomVariables and pageCustomVariables to array (array visitorCustomVariables = 'Array', array pageCustomVariables = 'Array').
It would be great if you could advise on this topic.
Extract from Matomo API Reference:
- SitesManager.getJavascriptTag (int idSite, string piwikUrl = '', bool mergeSubdomains = false, bool groupPageTitlesByDomain = false, bool mergeAliasUrls = false, array visitorCustomVariables = 'Array', array pageCustomVariables = 'Array', string customCampaignNameQueryParam = '', string customCampaignKeywordParam = '', bool doNotTrack = false, bool disableCookies = false, bool trackNoScript = false, bool crossDomain = false, bool forceMatomoEndpoint = false, excludedQueryParams = '', excludedReferrers = '')