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
New dimensions "Website ID" and "Website name" #12409
Comments
@mattab couple questions:
|
|
|
@mattab FYI, there is already an IdSite dimension that uses the site name column. Do you have a problem w/ using that instead of two dimensions? https://github.com/matomo-org/matomo/blob/3.x-dev/plugins/CoreHome/Columns/IdSite.php Note: this is what is being used in the screenshot (I had to modify it a bit first). |
in the UI, it is needed to have the website ID as its own dimension, as well as the website name as its own in the backend, they would be the same based on idsite |
@mattab could you elaborate on why? I don't have a problem w/ trying to do this, but I feel like there's a reason for why the IdSite dimension uses the idsite column & selects the name for the value. I want to make sure I understand the situation completely. EDIT: got it, just display |
It would be useful to introduce two new dimensions:
Then Custom Reports could leverage these new dimensions and allow creating custom reports on Roll-Ups broken down by Website id or website name.
For these dimensions I reckon we don't need to create new segments. Although having segments for website id/name could be possibly useful to segment a roll-up and filter out some sites, it hasn't been requested yet.
The dimensions should be available when used in the "Top level" of the report (ie. the first dimension added), and also when the dimension eg. "Website name" is added below, for example "Country > Product sold > Website name" should list, for any given country and product comparison, all of the website that sold this product.
Testing
To check this new feature works as expected, we should create a Custom Report on a Roll-up, where the custom report includes the Website name and/or Website ID. The generated custom report should let us drill down into any particular website.
The text was updated successfully, but these errors were encountered: