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
Copy custom dimensions settings across sites #16151
Comments
Mentioned in the forum: https://forum.matomo.org/t/duplicate-custom-dimensions-among-site/21388/ |
Third party plugin which claims to do this: https://github.com/NatLibFi/CustomDimensionsManager |
@9joshua I'm the author of the plugin, and any feedback is welcome. I'd love to see the functionality as part of CustomDimensions plugin, though. |
Hi @tsteur, |
@EreMaijala adding the plugin to the Matomo Marketplace be awesome. @heurteph-ei Good question re integrating into core. I can't really say much as I can't really make that decision and am not sure how many people need this feature. It sounds like maybe not too big of a user group needs it and then it may be better as a plugin on the Marketplace. If it's in the core, we would probably want a UI for it and would also need to add tests etc so it's not super straight forward to just move it into core unfortunately. It be great to learn more about the use cases here. If people need this feature, please comment. It does help us understand demand more. |
Hi @tsteur |
@tsteur I'll see what I can do about the Marketplace. Our use case is that we add new sites using Matomo API and need all sites to have the same custom dimensions, so we use one site as a template and then synchronize the settings to all other sites with a cron job. |
@heurteph-ei @EreMaijala A little of topic but you could create a template website and use the migration tool to copy the template settings to other instances. I did some testing and found it is possible for the 'source' and 'target' server to be the same (targeting the same instance providing the website data). This means you can have a template site which can be duplicated when adding new sites to another instance or to the same instance, including Custom Dimensions settings, etc. |
Hi @9joshua
It seems too risky for just a standard admin action... 😟 |
CustomDimensionsManager is now available on the Matomo Marketplace. |
Hi
How can you copy custom dimensions settings from one site to another?
Can you just clone the rows in the database and change the siteId?
(Seems quite scary for non-DB people like me..)
The text was updated successfully, but these errors were encountered: