Is there any way to tag/attribute a tag to an email (to categorize them for example) and use it in the SQL queries to get tracking information by email types (transactional, commercial, welcome pack, etc) ?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
This question discusses querying tags and campaigns (Is it possible to write a SQL Query to extract send data that includes Tags and/or Campaign names) - apparently not possible.
However, if you want to break down tracking information by transactional, commercial, etc, you could consider using specific Send Classifications for the email sends. You are probably already using "Default Commercial" and "Default Transactional" for their respective sends. You can create additional ones (eg: we have a send classification for "Reengagement").
The Send Classification value is then available on the _Job view, making it very easy to use in SQL queries.