Forum Moderators: DixonJones
Please put google analytic tracking code on the top of your page, not bottom. In my experience, there will be 30% difference.
Why does Google say put it at the bottom? I understand the load-time issue, but you think Google doesn't know it, too? If the stats difference is 30%, isn't that big enough for Google to say put it at the top?
Is there any disadvantage of putting the code at the top?
p/g
As for differences in reporting when it's at the top, seriously, why do you care? The people that came and left before the file was loaded were not your customers anyway so why would you wanna count them at the expense of having your pages load up slower?! Makes no sense whatsoever.
Let's assume the GA tag is capturing everything as designed.
You say your log files show a lot more traffic than GA does. Then think about what kinds of visitors show in logs and not in tagged-page tracking. The answer usually is spiders and bots, plus visits consisting entirely of files that cannot be tagged, i.e. pdfs, images, docs, Flash, wavs, streaming media, certain kinds of refreshes, and so forth.
So, is this the situation? Do a lot of your visits consist just of a pdf? Are the visits in your logs mainly spiders and bots? Etc.