What is “page url not defined” in the Pages report?

Feedback sent successfully Thank you for your valuable feedback. We will use it to make matomo.org even better.

Matomo (Piwik) provides two reports for your page views: Page Titles and Page URLs. In some rare cases, a visitor’s browser will not let the Matomo Tag request the current URL (generally for privacy reasons). If Matomo could not request the page URL from the browser, Matomo will instead report “page url not defined” for the visits on those pages.

If all your pages report “Page url not defined” then there is a data tracking problem. Here are common reasons for this issue:

2) if you manually track file downloads using _paq.push(['trackLink', 'https://mydomain.com/download.pdf', 'download']) for example, note that you must use a full valid URL.

3) if you are using Self-hosted Matomo (this issue does not occur on the Matomo Cloud): check that there is no automatic HTTP redirection on the piwik.js and piwik.php requests (for example via an .htaccess). 301 Redirection from http:// to https:// will not decode/encode properly some parameters especially URL parameters that look like a URL. The reason of this issue is still unknown but probably due to a bug in the webserver. Ensuring there is no redirection in your Matomo (Piwik) tracking calls will also ensure better performance. One way to ensure that there is no redirection from http to https is to modify your Matomo JavaScript tracking code and prepend https, here is an example: var u="https://your-piwik-server-url/";

Feedback on this page

Name (required)

Email (required)

Your feedback (required)

Your information will be used only to improve our pages and to answer you. Your data will be processed by us, our hosting provider, and our support ticket provider. For more information have a look at our privacy policy.

Become a partner

Privacy

Sign up for our newsletter

We are constantly adding new features and content to the leading All-In-One Analytics Platform that gives you control over your data. If you want to stay up to date with everything that is happening, feel free to subscribe below. You can unsubscribe at any time from it. The newsletter service uses MadMimi. Learn more about it within our privacy Policy page.