Mautic Community Forums

Adding tags to segment email

I was wondering is there a way to add a tag if a contact opens a segment email?

There is a hack/workaround that I thought about (not tried)

  1. Create a segment and add a filter with “Email Read” and set the value to the segment email you want.
  2. Create a campaign starting with that segment, and then an action to add a tag.

Hope this helps.

I am sure there is a way to do this in mysql as well - not sure you want to go that route.

Yups, I use this workaround and it works. But if I want to put tags on every email I send, I have to make a bunch of campaigns and keep them published (and I am pretty sure they eat some resources too). Was wandering if there are some more “organic” options for that… :thinking:

Not that I am aware of. You may consider coming up with a strategy to have a campaign for segmented emails and simply add to the campaign.

I would think of having a general campaign. Create a master segment which will bring in all your contacts, then under that you can start separate branches of “conditions” if segment is X and under that put in your open and tagging rules.

Has the potential of getting a bit messy :slight_smile: