Daniel Birowsky Popeski
Daniel Birowsky Popeski

Reputation: 9286

Show content based on whether the user has certain tag in Mailchimp

I went through the Merge Tags here and here, but couldn't figure out the syntax that would allow me to show content based on whether the user has certain Tag or not.

Help?


My goal in case it helps:

User subscribes, and is queued for a welcome mail one day later. In meantime that user may get tagged (my way of segmenting them), and so, the next day when that user receives the welcome mail, the content needs to be catered based on the tag that user got.

Upvotes: 3

Views: 409

Answers (2)

Daniel Birowsky Popeski
Daniel Birowsky Popeski

Reputation: 9286

Got a response from their support saying

merge tags do not work with Tags just yet

here's the whole thing:

While we do have conditional merge tags available, I'm afraid we do not have any that would work with Tags. To be transparent, Tags were recently added a few months ago, and there are some features in our application that has not updated to work with Tags just yet.

Because conditional merge tags do not work with tags yet, the best option would be to create multiple automations and send them out based on each tags. If you do it that way, you'll be able to target those in specific tags with specific content

Upvotes: 3

Syfer
Syfer

Reputation: 4479

Dug a little deeper from the first link. There is another link Use Conditional Merge Tag Blocks which contained the below code:

Name
IF-ELSE

Definition

Use ELSE to indicate alternative content to display if the *|MERGE|* tag value is false.

Example

*|IF:MERGE|* content to display *|ELSE:|* alternative content to display *|END:IF|*

Name
ELSEIF

Definition

Use ELSEIF to specify a new *|MERGE|* tag to be matched against if the first *|MERGE|* tag value is false.

Example

*|IF:TRANSACTIONS >= 20|* Enjoy this 40% off coupon! *|COUPON40|* 
*|ELSEIF:TRANSACTIONS >= 10|* Enjoy this 20% off coupon! *|COUPON20|* 
*|ELSE:|* Enjoy this 10% off coupon! *|COUPON10|* *|END:IF|*

More examples with definitions can be found here.

Hope this is the answer you were after.

Upvotes: 0

Related Questions