Does CloudFlare affect Google Analytics?
No, not at all. If you use Google Analytics or a system that tracks logs through a script on your web pages, then CloudFlare does not affect any of your Google Analytic tracking. Why? GA works by inserting a piece of Javascript (JV) on your site. This JV interacts with the Google servers. When visitors come to your site, they interact with the Google servers. Since CloudFlare’s proxy does not sit between the Google servers and your visitor, we have no effect on GA. Instead, CloudFlare sits between your visitor and web server. So, the CloudFlare connecting IP matters only for any programs that read logs directly from your web server (like awstats). For more technical folks another way to think about it is that Javascript is first a browser-side script, unlike server-side languages such as PHP. The Google Analytics Javascript code on your pages gets executed by the user’s browser, so Google Analytics sees the IP of the user’s browser. (The GA Javascript code on your page doesn’t talk to