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 Piwik Tag request the current URL (generally for privacy reasons). If Piwik could not request the page URL from the browser, Piwik 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) 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 Piwik tracking calls will also ensure better performance.
- 3) 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.
- 4) If your pages are correctly tracked but you still don’t see any URL being tracked, please investigate/debug the issue with Firebug or ask in the forums posting your site URL so we can help you.