Skip to content

Instantly share code, notes, and snippets.

@mskutta
Created May 11, 2015 17:55
Show Gist options
  • Save mskutta/96926d27ab88d8fa5ac5 to your computer and use it in GitHub Desktop.
Save mskutta/96926d27ab88d8fa5ac5 to your computer and use it in GitHub Desktop.
Social Sort Settings.cs
namespace OneNorth.SocialSort.Configuration
{
public class Settings : ISettings
{
public string GoogleAnalyticsProfileId
{
get { return Sitecore.Configuration.Settings.GetSetting("OneNorth.SocialSort.GoogleAnalytics.ProfileId", ""); }
}
public string GoogleAnalyticsServiceAccountEmail
{
get { return Sitecore.Configuration.Settings.GetSetting("OneNorth.SocialSort.GoogleAnalytics.ServiceAccountEmail", ""); }
}
public string GoogleAnalyticsKeyFilePath
{
get { return Sitecore.Configuration.Settings.GetSetting("OneNorth.SocialSort.GoogleAnalytics.KeyFilePath", ""); }
}
public int WindowInDays
{
get { return Sitecore.Configuration.Settings.GetIntSetting("OneNorth.SocialSort.WindowInDays", 30); }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment