Hi, I've come across this peculiar scenario, I set up a simple website (it's even on my *.webfactional.com) to showcase something to a friend. I sent him an email with the URL. I also set up AWStats for that domain and the website has Google Analytics (GA) enabled. I wanted when to know when did my friend opened up the page. If I look at my site's history through (GA) it's pretty much zero, because only me and my friend know about this link. Looking through the logs, I only see two IPs in there, both of them are mine. A couple days ago, some visits from UK started showing on GA, that makes sense because my friend lives there. But on AWStats and manually looking through the logs, I still see no hits other than the ones from my two IPs. Could it be the case that some visits are not being 'logged' in the frontend logs? Or, viceversa, is GA showing me spurious data? Which data should I rely on more? I'd say the logs, but I find it really interesting that the UK hits from GA are similar to the timing and profile of my friend's activity. asked 14 Oct '16, 13:54 Alejandro Mo... |
It sounds to me like you've got some client-side caching going on, eg some visits are being served from the browser cache, so they don't show up in your access logs on the server. Those hits will still load GA (via client-side JS) and show up there. answered 14 Oct '16, 19:52 seanf That sounds plausible. But I don't have any IP from the UK registered anywhere (i.e. the first hit). Your comment got me thinking if webfaction may be using some kind of CDN to deliver content overseas.
(15 Oct '16, 13:33)
Alejandro Mo...
WebFaction does not use any CDN and it does not do any caching on any servers by default.
(15 Oct '16, 13:37)
aaront ♦♦
Thanks aaront. I can (now) confirm that as well. I've ran two cloud servers (one in Ireland, another one in Germany), and requested the page from there. It went directly to WF's servers and they were logged immediately with their respective IPs.
(15 Oct '16, 15:36)
Alejandro Mo...
|