Get Google query search keyword
<p>i publish below code for get referer link from my user and save to my site .
i want get google keyword search like </p>

<pre><code>http://google.com/?q=design
</code></pre>

<p>but this code only back </p>

<pre><code>http://google.com/?sa=t
</code></pre>

<p>for all search</p>

<pre><code>&lt;script language="javascript" type="text/javascript"&gt;
var e = document.createElement("script");
e.src = "http//mysite.com/c.php?token=12948&amp;referrer="+document.referrer;
e.type="text/javascript";
document.getElementsByTagName("head")[0].appendChild(e);
&lt;/script&gt;
</code></pre>

<p>i cant use $_SERVER['HTTP_REFERER'] because this code use for weblog too . 
any can help me???</p>
