Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Re: Pixel tracking with urlref needs url parameter?

$
0
0
thanks for the direkt link to the relevant piece of code.

I expected $_SERVER['HTTP_REFERER'] to be used always if the url parameter is not passed, therefore depending only on "empty($this->params['url'])" but not on "empty($this->params['urlref'])".

IOW I wonder why "empty($this->params['urlref'])" is used to decide whether to derive url from $_SERVER['HTTP_REFERER'].

I can't imagine situations where the url parameter might not be passed and the URL is different from the referrer.

Of course my lack of imagination is no proof of nonexistence.

Oliver

Viewing all articles
Browse latest Browse all 13117

Trending Articles