I have a website offering several IT services at university (for example Wifi, VPN, O365…). Every service provided has its own service page and several instructions pages belonging to one service. I would like to group and see statistics per each service (including instructions), could you please help me to find a way for this?
Currently I decided to use segemnts for that (Page URL contains…), but I realized that it convers not only specific service pages, but also pages that were visited by users who saw specific service pages.
Segments are the best solution. In the right field/s you must not choose one of the displayed options, you can write in this fields free, and use in the left “Page url” and in the middle “Starts with” or what fits to your solution.
You just need to set up your code such as the value for the field customDimensionValue changes dinamically and according to the content group you want to track.
It definitely needs some frontend programming in order to achieve correct tracking, but it’s definitely the best and more solid way to do it.
But, in this case you are limited to 5 custom dimension right? So, if i need report for 10 type of service, each composed of N pages identifiable by url with a common part, how can i do with custom report?
You just need ONE custom dimension to do the trick (e.g. “Content grouping”). Obviously you should tag all the pages you wanted to group with the corresponding values.
But once set up, the reporting is pretty straightforward, you just have your report in the Behavior menu:
(For context, here I’m tracking the page types provided in the dataLayer by the Google Tag Manager for Wordpress plugin: I’m using Matomo Tag Manager to fire the tags, while feeding the custom dimension from the dataLayer)
Hmm… you can always add more custom dimensions than that, the only thing is: it’s not recommended because it takes a toll on the DB performance.
10 different types of classification probably calls for some tyding up of the parameters you want to collect!