Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5709

Struggling to make my first Matomo Custom URL work, need help

$
0
0

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? :pray:

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5709

Trending Articles