Url undefined

Hi, I use Qt4 and QWebView and got strange problem - when I request piwik from QWebView component I always have undefined page url, but if I request the same link from any browser url is defined. My url is something like this: &url=http%3A%2F%2Finstalador.exe…
I think piwik checking something in http header and doesn’t use my url from QwebView. Possibly somebody know why it happens?

Piwik should use your URL fine. what I recommend to do, is to enable Debug in the Tracking API. Then look at the response from Piwik when it does not track the URL: you will find in the debug message some pointers. See: Tracking HTTP API: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3