moved gA location to before <head>