Nginx and google analytics

I am trying to find the right sub_filter settings to make nginx place
my google analytics code on all my pages. Here is the google code:

If anyone has a suggestion, I would really appreciate it. Thanks!

Brent

I think you need to call ga code from a file like below:

location / {
sub_filter
‘’;
sub_filter_once on;
}

On Wednesday, June 22, 2011, bwellsnc [email protected] wrote:

var ga = document.createElement('script'); ga.type =

Brent


nginx mailing list
[email protected]
nginx Info Page


Joshua Parker
Church Management System - http://www.churchmember.us/