views:

359

answers:

1

Just looking for some general information on how the Google Analytics javascript code placed on the bottom of each page authenicates a website.

Obviously there is a tracking code which is paired to the domain name but is there more to it than that? Is it checking anything else to make sure its secure and not open to misuse?

+1  A: 

There is no way you can cheat on it, because domain name read in JS cannot be changed. And you didn't mention, that each analytics code has a unique UA-number, which is connected with your domain in google database.

Thinker
so sorry, I'm having really bad day :) I was totally thinking server-side and that the ga.js was hosted on the client-side. Duh! Yes I totally understand whats going on now.
EddyR