Merge/aggregate pages: sum visits stats for pages that match a pattern


#1

Hello everyone,

On my website, several pages are just translations of a same content, e.g.
[ul]
[li] index.en.html
[/li][li] index.fr.html
[/li][li] index.de.html
[/li][/ul]
are just the English, French and German version of the home page.

It is relevant to see visits to these different pages, to check which country visits the website most.
But it would also be nice to see how many people view index..html, topic1..html, topic2.**.html, counting all languages, to see what pages are visited most, regardless of the language.

Is there a means to have a merged view with visits stats summed for all pages that match a given pattern / regular expression?
This would definitely be useful in that case, where the language is part of the URL and not a GET parameter or stored in session.

Thank you very much in advance for any pointer or help!
Nicolas


(Matthieu Aubry) #2

There are few ways or doing this.

You can customize the “Page title” via setDocumentTitle

or you can use Custom Variables to set a “page” scope variable: Custom Variables Analytics - Analytics Platform - Matomo


#3

I personnaly use Custom page name tracking, giving that patern “Index/EN”, “Index/FR”, …
This way, EN and FR are counted under Index page.
But I don’t know if this would be a satisfying solution for your own situation.