Reimar schrieb am 29.01.15 um 19:57:42:
Yes. Today I have try to change your php code and I have learn something. With Start page I have not referer. Google has not decrypt referer and it is like this:
http://www.google.it/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCMQFjAA&url=...So track.php:
Code (PHP): $special_referer_url = $js_referer;
$special_referer_url_parameter = array ( "q" , "search" , "query" , "ask" , "terms" , "key" , "qkw" , "su" , "dt" , "Keywords" , "origq" , "catId" );
$special_referer_temp_site_name = substr ( strstr ( substr ( $special_referer_url , 7 ) , "/" ) , 1 );
//file_put_contents("track.txt", $js_referer);
$special_referer_temp_url = parse_url ( $special_referer_url );
parse_str ( $special_referer_temp_url [ "query" ] , $special_referer_temp_parameter );
$special_referer_temp_check_name_value = 0;
$special_referer_temp_name = substr ( basename ( $special_referer_url ) , 0 , strpos ( basename ( $special_referer_url ) , "?" ) );
foreach ( $special_referer_temp_parameter as $key=>$value )
{
if ( in_array ( $key , $special_referer_url_parameter ) )
{
$special_referer_temp_check_name.= $key."=".$value."&";
$special_referer_temp_check_name_value = 1;
}
}
if ( $special_referer_temp_check_name_value == 1 )
{
$js_referer = dirname ( $special_referer_url )."/".$special_referer_temp_name."?".substr ( $special_referer_temp_check_name , 0 , strlen ( $special_referer_temp_check_name ) - 1 );
}
detect the get variable q= and set $value to "", so the referer is:
http://www.google.it/search?q=So the problem are the search engine that not permit to phpstat to works correctly.
Yahoo has the same problem:
http://r.search.yahoo.com/_ylt=A7x9Ukp478lU_gIAbsNHDwx.;_ylu=X3oDMTBydWpobjZlBHN...So the referer is almost not useful, They show only the domain. Search terms are rare.
Reimar schrieb am 29.01.15 um 19:57:42:
Referers are hits, search terms also, search engines are related to visitors.
Yes, I understand. I have not know this until today.
In the example of my picture I have 81 google second level domain, the google.xx/search are exactly 44 like that show in Search engine table. So I suppose that
https://www.google.it/ are not search engine but other stuff: is it correct?