Google Analytics with nginx reverse proxy

fakrulalam nginx-forum at
Thu Dec 12 17:22:43 UTC 2013

Google analytics code (the JavaScript)  works properly when I point my
domain to apache server. But when I point my domain to nginx (as reverse
proxy); Google Analytics statistics get dropped and it doesn't show the
actual users hits.

Posted at Nginx Forum:,245460,245477#msg-245477

More information about the nginx mailing list