public ActionResult Index(AdminIndexViewModel viewModel) {
            if (!Services.Authorizer.Authorize(StandardPermissions.SiteOwner, T("Cannot manage analytics")))
                return new HttpUnauthorizedResult();

            if (_settingsService.Set(viewModel.Enable, viewModel.Script)) {
                Services.Notifier.Information(T("Google Analytics settings successfully saved"));
            }

            return View(viewModel);
        }
        public ActionResult Index() {
            if (!Services.Authorizer.Authorize(StandardPermissions.SiteOwner, T("Cannot manage analytics")))
                return new HttpUnauthorizedResult();

            var siteKey = _settingsService.Get();

            var viewModel = new AdminIndexViewModel {
                                    Enable = siteKey.Enable,
                                    Script = siteKey.Script
                                };

            return View(viewModel);
        }