Gold-level neighborhoods and above should be able to enter a GA tracking ID for the neighborhood, and also for individual projects. Then use techniques documented at http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html#MultipleCommands to set up the JS to use those additional ids.
forge:cj/3970
sftheme:cj/3970
I set up my own GA account and confirmed (eventually) that the hits are coming through, but I'm not sure how to test and confirm that the main account hits are still working as expected. Everything I could find in the docs, and the fact that the test account ones are working, make it seem like it should work fine, though.
Looks good. Would be a bit nicer to:
Blocked on:
We should also remove the "user" custom field for additional profiles - we should not be sharing that data with others. Page type, project, and topic should be fine.
Got an error when saving the neighborhood tracking id. We should have a test that covers this.
And the _setCustomVar for userid needs to come before the _track* items in gaq.push. GA recommends this - see point 3 on http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html#recommended
allura:cj/3970
sftheme:cj/3970
So, after all the hoopla about c.project being set, it looks like the audit log needs to have the project_id be the --init-- project id. Otherwise it doesn't show up on /p/admin/audit/ Maybe AuditLog.log can look for c.neighborhood when c.project isn't set?
Changed to use self.neighborhood.neighborhood_project instead of None
Good, but want to get [#4056] merged, and hook it up as a flag.
Related
Tickets:
#4056