OK, whereever you want it on or off, just do that based on the setting.  The feature flag doesn't offer any more fine-grained control over where the analytics are used than just the ID setting does, does it?  Where you now have  `if settings.FEATURES["ENABLE_COURSEWARE_GOOGLE_ANALYTICS"]`, just use `if settings.GOOGLE_ANALYTICS_ACCOUNT_ID`.  Wouldn't that work?