mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
Some analytics
This commit is contained in:
parent
91640b3d14
commit
a9237db313
1 changed files with 4 additions and 0 deletions
|
@ -256,6 +256,10 @@ namespace PlexRequests.UI.Modules
|
|||
model.BaseUrl = model.BaseUrl.Remove(0, 1);
|
||||
}
|
||||
}
|
||||
if (!model.CollectAnalyticData)
|
||||
{
|
||||
await Analytics.TrackEventAsync(Category.Admin, Action.Save, "CollectAnalyticData turned off", Username, CookieHelper.GetAnalyticClientId(Cookies));
|
||||
}
|
||||
var result = PrService.SaveSettings(model);
|
||||
|
||||
await Analytics.TrackEventAsync(Category.Admin, Action.Save, "PlexRequestSettings", Username, CookieHelper.GetAnalyticClientId(Cookies));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue