Hello All,
using the image tracking, it seems that I need to provide the "url" parameter as soon as I add the urlref parameter.
Example: Using the default image tracking code:
I get the URL information (page visited) although I didn't add it explicitly to the image URL, but using
tracks the referer, but not the URL ("Page URL not defined"). When I add urlref, both are logged.
Is this by intention? It makes things more complicated since I get the referrer rather simply with PHP but assembling the URL is somewhat more effort.
TIA,
Oliver
using the image tracking, it seems that I need to provide the "url" parameter as soon as I add the urlref parameter.
Example: Using the default image tracking code:
<img src='http://myserver.com/piwik.php?idsite=1&rec=1' />
I get the URL information (page visited) although I didn't add it explicitly to the image URL, but using
<img src='http://myserver.com/piwik.php?idsite=1&rec=1&urlref=http%3A%2F%2Ffoo.bar' />
tracks the referer, but not the URL ("Page URL not defined"). When I add urlref, both are logged.
Is this by intention? It makes things more complicated since I get the referrer rather simply with PHP but assembling the URL is somewhat more effort.
TIA,
Oliver