As i understand it, there are 2 ways how we can add extra dimensions
a) Custom Dimensions - Analytics Platform - Matomo
b) create plugin with extra own dimensions (console generate:dimension)
what are the differneces and advantages of each solution. I like the (b) that you can have names not just some id, but i have seareched for JavaScript Tracking Client: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3 and i have not found, how to post the dimension from client to the piwik
Also i do not know, if i would create them this way, if i would have them easily accessible in the piwik, to be able to segment by them. And also i do not know what is faster etc.
Thanks