Multiple Categories per Email
I'd love to be able to add multiple categories to an email. When I am testing a new invitation email, being able to label it as an "invitation" and "invitation-variant-1" would mean that I could easily keep track of how invitations are doing in general and compare the different variations against each other.
Official
Response
-
This has been implemented: http://docs.sendgrid.com/documentatio...
"Sets a category for an e-mail to be logged as. You may use any category name you like. You are allowed to set up to 10 categories under this field as a standard array."
-
Do you want multiple categories, or hierarchical categories?
this:
{category: ["invitation", "invitation-variant-1"]}
or:
{category: { "invitation": "variant-1"}} (max depth of 2 or 3?}
#1 is could cover a bit more use cases, #2 would be more organized for the most common use case.
I'd lean towards #2, unless there were a lot more use cases for #1 than I can imagine.-
Nipun Jethi July 06, 2011 22:47+1 for #2. This would help us.EditDeleteRemove
-
-
-
-
-
I was thinking along the lines gmail labels. On possible way of doing it could be an array of arrays.
{ "category": [ [ "invitation", "body-variant-1" ], [ "invitation", "subject-variant-3" ], [ "April 12 push" ] ] }
This would be saying that this email is an "invitation" and it has "body-variant-1" and "subject-variant-3" associated with invitation emails and was part of a big push for user acquisition that started on April 12.
The arrays are essentially nested labels. -
-
#3 all of the above....
I can see where this would be useful, but I'm not sure it belongs in the stats. As soon as we add categories like that, the next request would be for a report language so the can generate a graph of delivered, clicked & opened for body-variant-1 grouped by subject-variant for pushes starting in april.
It's super useful, but covering all the use cases would make the statistics page much more complicated. We already have something in place if you want to go crazy with your analytics- unique_args & event api will give a real time stream of events. Just have the receiving page on your site dump to a file, db, or hadoop & you could slice the data into any sort of stats you could imagine. -
-
Honestly, #1 would cover 90% of the use cases I can think of. And as a bonus to you guys, it doesn't really change the way the stats page works right now. The only difference is that adding up all the categories does not equal 100%.
People can make separate categories that are combinations of others or represent hierarchies much like people do with gmail tags now.
Granted having done tagging systems myself, allowing for multiple tags is not the easiest and most performance friendly thing to do.-
By the way, thanks for being open and responsive about this stuff. Awesome stuff.
-
-
-
-
-
This has been implemented: http://docs.sendgrid.com/documentatio...
"Sets a category for an e-mail to be logged as. You may use any category name you like. You are allowed to set up to 10 categories under this field as a standard array." -
Loading Profile...



Twitter,
Facebook, or email.

EMPLOYEE
EMPLOYEE
