Automatically Tag Based on Domain?

Hey all!

Is it possible to automatically apply a tag to a new contact based on their domain (or any text in their email address)?

For example: A contact who opts-in with email name@usa.gov would be tagged as a Government.

Tried searching and couldn’t find anything.

Thanks!

K

We wrote a script that does that by full (ex @gmail.com) so it can be done. You could use decision diamonds and “contains” “.gov” and the like if you know the ones you’re looking for

2 Likes

Thanks, John! I’ll try this out.

Is it possible to make the action tag the contact so that another campaign (outside of the current one that tags them) is sent to that contact?

For example, in the main opt-in nurture campaign, if the tag “Government” is applied, they’ll be sent a “Government” campaign separate from the main opt-in nurture campaign.

You would just use the “Government” tag as a starting goal for any subsequent campaign

1 Like

Hi John, where can I find this script?

Thanks