private static string GetDimension(GoogleAnalyticsDimension dimension) { switch (dimension) { case GoogleAnalyticsDimension.wallpaperId: return("cd1"); case GoogleAnalyticsDimension.wallpaperTitle: return("cd2"); case GoogleAnalyticsDimension.partnerId: return("cd7"); case GoogleAnalyticsDimension.partnerName: return("cd4"); case GoogleAnalyticsDimension.channelId: return("cd5"); case GoogleAnalyticsDimension.channelTitle: return("cd6"); default: throw new Exception($"Invalid Dimension: {dimension}"); } }
public DimensionTuple(GoogleAnalyticsDimension dim, string val) { Dimension = dim; Value = val; }