- Grouping by definition of rules:
This is the simplest option, but at the same time more laborious and manual. It consists of creating rules to assign content. First we will choose the dimension (Name on screen, Page and Title of the page) and then the matching option. For example: Page> contains> / pants /
- Grouping by extraction: This option will allow us to extract pages through the dimensions Name on screen, Page and Title of the page using a regular expression. It will consist of detecting a common part and a differentiator within our dimensions to form a pattern.
For example: using the Page dimension / men / shirts / / men / pants / / men / shirts / /mens/(.*?)/ (. *?) It is the differentiating part that we are going to extract to classify our content.
- Grouping by tracking code:
This way of grouping the content can be done using Google Tag Manager, in this way we avoid inserting it directly into code. The first thing we will have to do is enable the tracking code in Google Analytics: