Matomo works generally fine for our website but I am struggling with setting up my first custom URL.
I have followed instructions here: https://matomo.org/faq/how-to/how-do-i-set-a-custom-url-using-the-matomo-javascript-tracker/
A live poc of my first custom URL is available here in production: https://emplois.inclusion.beta.gouv.fr/stats/poc_matomo_custom_url/
If you look at the HTML source code of the live page, you can see this:
_paq.push(['setCustomUrl', location.origin + '/matomo-custom-urls-actually-do-work.html']);
_paq.push(['trackPageView']);
In a javascript console you can check that location.origin + '/matomo-custom-urls-actually-do-work.html'
evaluates to 'https://emplois.inclusion.beta.gouv.fr/matomo-custom-urls-actually-do-work.html'
so in theory this should work right?
But even after several hours, when I go to our Matomo backoffice and check the list of pages, I cannot see the expected /matomo-custom-urls-actually-do-work.html
anywhere.
Any idea what I could try next to troobleshoot what I am doing wrong here?
4 posts - 2 participants