Google Analytics for WordPress with @CloudFlare
You can set up you DNS to point to cloudflare, although it’s far more powerful you can view this functionality as a High Availability proxy. Cloudflare then accepts the connections for http and requests the requested page from wordpress.com. This file is manipulated to inject the GA script into the site. There is NO need to perform any modifications on wordpress.com.
Read more articles about wordpress…
As it says in the blog:
Image source: CloudFlare