Improve Custom Dimension Indexing by Making Action and Visit Slots Independent #23022
Labels
c: Custom Dimensions
For issues related to the Custom Dimensions plugin.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
triaged
Milestone
Hi Team,
Description:
Currently, in Matomo, creating a custom dimension is problematic due to the way index slots are assigned. The action and visit level dimensions are dependent on each other, meaning:
If a user creates a custom dimension at the action level, it takes index 1.
If they then create a custom dimension at the visit level, it is automatically assigned index 2, even if there is no visit-level dimension in index 1.
This dependency makes it extremely difficult for users to align measurement plans between different setups, especially when tracking structured data across multiple implementations.
In contrast, Google Analytics handles this differently by keeping action and visit dimensions independent, allowing for consistent index management across different measurement levels. Matomo should adopt a similar approach for greater flexibility.
Steps to reproduce:
What I got:
The index slots are dependent on each other, making it difficult to maintain consistency in measurement plans.
What I expected instead:
Action and visit custom dimensions should have independent indexing, similar to Google Analytics, so users can organize their tracking in a structured and predictable way.
Proposed Solution:
Separate the indexing of action and visit custom dimensions so that they do not interfere with each other.
Allow users to manually set and ma
2025-02-07.15-54-04.mp4
nage custom dimension indexes for both levels.
Ensure that existing dimensions are not affected when implementing this change.
The text was updated successfully, but these errors were encountered: