Hi @iparker
What is $matomo? I don’t know this tracking object…
If this is the tracker object (and not the _paq tracking stack), not sure you can track the dimension within the event. In this case, you have to .setCustomDimension (customDimensionId, customDimensionValue) before the .trackEvent('UserInteractions', 'EventA', '', 50);
We work in a Nuxt 2 application with https://github.com/pimlie/nuxt-matomo for the integration of Matomo. But as I understand it, $matamo is the tracker object on which I can execute all the actions.
If I view the dimension directly in the event track, I can see in the database in the matomo_log_link_visit_action table that this information is set in the columns for the custom dimensions. But I can’t seem to see or evaluate this information anywhere in the Matomo UI.
I have to test again how the behavior is when I set the values using setCustomDimension, because these are Visit Custom Dimensions if I understand that correctly. Because in this case I have to change these values quite often during a visit. I don’t know if that’s good/right.
Another question: Is there no way to output and process the Custom Dimensions in a CustomReport?
Hi @iparker
I don’t understand why you are looking directly in matomo_log_link_visit_action table, as information is not easy to extract form this…
Why don’t you use the visits log? Visit custom dimensions are visible on the left, and Action custom dimensions by hovering the action itself…
For custom report, as this is a premium plugin, you can ask directly to the support team by email… (but custom dimensions are available in custom report, I use them…)
I looked in the database to check whether and where the custom action dimension is stored.
The visit log doesn’t help me that much because I need an aggregated and summarized presentation.
Regarding custom reports: What is the name of the value of the custom dimension that you select here? I only see the custom variables in the custom report but not the custom dimensions.
But it’s not of much use to me. I need the information in an aggregated representation and preferably for the goal itself (e.g. as “Goals per Custom Action Dimension”).
Hi @iparker
Can you confirm the tooltip (that displays custom dimension) is on the userinteraction or on the goal?
What is your goal? trigger a goal on a custom dimension, or attach a custom dimension to a goal?