Search code examples
ioscrashlyticstwitter-fabricgoogle-fabric

Fabric Answers Event: Total Count for Category Attribute


My app presents users with a collection of colors—red, green, blue, etc. When a color is tapped, I log a custom event to Fabric with the color's name as a custom attribute:

Answers.logCustomEvent(
    withName: "Tapped Color", 
    customAttributes: ["color": color.name]
)

Now, I want to know how many times a color was tapped over a given duration (week, month, year, etc).

Is there a way to do this without clicking each day on the "color" category attribute graph and adding the counts myself? As far as I can tell, there's no way to download the custom category attributes associated with the event's "Event Count" graph either.


Solution

  • Mike from Fabric here. There currently isn't a way to download the custom attributes of an event. If that changes, I'll update my answer!