What does “ei” mean in the Google homepage url htt

2019-03-09 21:20发布

I know about some of the parameters in a google url, such as:

  • gws =google web server
  • rd = redirected
  • cr = country reffered

But I noticed one I cannot identify: &ei=. What does the ei mean in this URL?

http://www.google.co.in/url?ei=qWwlUqD4MIrRrQfD9ICIDw&...etc...

标签: url
2条回答
劳资没心,怎么记你
2楼-- · 2019-03-09 22:03

The ei parameter contains a timestamp—probably with microseconds—which corresponds to the time when the search results were served.

Your particular ei value (qWwlUqD4MIrRrQfD9ICIDw) contains the following values:

Array
(
    [0] => 1378184361
    [1] => 801824
    [2] => 15427722
    [3] => 4043323971
)

The timestamp (1378184361) corresponds to 03/09/2013 05.59.21. The microseconds are 801824 (probably).

(Unfortunately no-one is going to be able to confirm whether they are microseconds or not, but the timestamp (in seconds) is obvious.)

See this guide to decoding ei values, which also provides an open-source PHP function.

查看更多
beautiful°
3楼-- · 2019-03-09 22:16

You must have used the wrong search terms. A quick search for: google parameter +"ei=" turned up this blog entry which says the ei= parameter:

Passes on an alphanumeric parameter that decodes the originating SERP where user clicked on a related search...

查看更多
登录 后发表回答