only output analytics script when not on local site
ensure script is output when NOT on dev
clean up layout