0

I was wandering does google count a click though and credit it to your analytics account if a user finds you in search, clicks through but the server is busy / slow for what ever reason, So the user leaves before the page is loaded, dose google still credit your analytics count witha click through ?

I know that the tracking code dosnt load beacuse when you go the view source there is nothing there.. but dose google still credit your analytics account ?

1 Answer 1

1

"I know that the tracking code dosnt load beacuse when you go the view source there is nothing there."

You answered your own question. This is because Google Analytics happens in JavaScript, not server-side. The webserver has no idea that Google is tracking the pages, but rather the browser is telling Google that it visited your site. If the server is unable to serve the pages, then the script will not load, and the browser has no idea to tell Google that it visited the site.

Edit: You could perhaps be looking for http://code.google.com/p/php-ga/ if you aren't aware of it already. This bypasses the browser and tells Google Analytics when the page is processed. May or not be reliable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.