473,480 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how does urchin.js (google analytics) work

Hi, does any one know how google analytics (urchin.js) works? I always
thought javascript
cannot talk to multiple servers due to security constraints. But google
analytics seems to
be able to track down a user's web browsing activities and send them back to
google.

I deeply appreciate that if some one can shed some light on me regarding
this.

Thanks !!

David
Sep 1 '06 #1
1 2351
David Chang wrote:
Hi, does any one know how google analytics (urchin.js) works?
Poorly, as it is predicated upon assumptions that are false.
I always thought javascript
cannot talk to multiple servers due to security constraints.
<snip>

Generally javascript (or, more precisely, browser object models) cannot
receive information from multiple domains (or interact with information
received from multiple domains). That does not mean it cannot send HTTP
requests to multiple domains (GET requests with data sent in query
strings). This has, for example, been possible when setting the SRC
properties of Image objects; the request is sent, the image returned
(if the remote server is happy to do so), but javascript is prevented
from interacting with the object as a result of its having loaded
'alien' data. However, this ability to make requests to any HTTP server
is likely to be removed soon as security concerns have recently been
raised in connection with it (the implied ability to scan network-local
servers for images and so deduce network configuration information).

Richard.

Sep 1 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1072
by: Ansuiya | last post by:
hii Can any 1 tell me which is fast ? AWstat or google analytics.Google Analytics takes too much time for processing but i dnt know about AWstat.Help please.. Thanx
14
8598
victorduwon
by: victorduwon | last post by:
Hi guys and gals, I am using javascript to autologin to my google analytics account via a hyperlink. This is what the text looks like this <?xml version="1.0" encoding="utf-8"?>...
1
1338
by: tatipellinaresh | last post by:
Hi, I want to use visitor tracking in my web application which is similar to Google Analytics. But in case of google we have to use their script file and they will store out site's data into their...
3
3025
by: knkk | last post by:
I am trying to include this code in the footer.template files of all blog templates: <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :...
0
6918
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7057
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6756
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5357
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4495
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3008
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3000
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
570
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
199
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.