as explained here and lots of other cases , what is this tracking story ? browser vendors say we have same origin policy and for example google.com can only read cookies saved by google.com or read cookies that saved by google.com, if its true so how this tracking by google and advertising companies and other agencies works ?
Edit: please describe an example (java html etc) code to do a tracking