Google Analytics tracking code should be pulled from config, not baked into the HTML #511

matthewskelton opened this Issue May 31, 2012 · 0 comments


None yet
2 participants

I think that the GA tracking code should be pulled from config, because otherwise when people deploy a local instance of NuGet Gallery, the analytics data for will be polluted by metrics for the local installations.

This relates to #455 and affects views such as

We'd probably want to include a new Web.config setting something like this:
<add key="Gallery:GoogleAnalyticsCode" value="" />

@half-ogre half-ogre added a commit that referenced this issue Jun 6, 2012

@half-ogre half-ogre Merge pull request #513 from NuGet/configurable-google-analytics
making the Google Analytics script configurable (fixes #455 and #511)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment