Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrapper for SitesManager. getJavascriptTag fails in Matomo 4.14.2 #55

Open
cseydel opened this issue Feb 14, 2024 · 1 comment
Open

Comments

@cseydel
Copy link

cseydel commented Feb 14, 2024

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 = '')

@thelfensdrfer
Copy link
Member

I don't use Matomo anymore, a pull request would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants