mercredi 1 juillet 2015

Mail Chimp IF statment

I am trying to set up specific RSS feeds to subscribers based on region selection. I am attempting to use a Conditional Merge Tag Block. What I have below will not work and I am not sure why.

*|IF:REGION = No Region|*News Headlines Offline
No headlines for you...Your region is not set.*|ELSEIF:REGION = North America|*
North American News Headlines

*|FEEDBLOCK:http://ift.tt/1C9lXDn
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSEIF:REGION = European Union|*
European Union News Headlines

*|FEEDBLOCK:http://ift.tt/1FQVO6R
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSEIF:REGION = Africa|*
African News Headlines

*|FEEDBLOCK:http://ift.tt/1C9lXDp
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSEIF:REGION = East Asia|*
East Asian News Headlines

*|FEEDBLOCK:http://ift.tt/1FQVO6T
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSEIF:REGION = South Asia|*
South Asian News Headlines

*|FEEDBLOCK:http://ift.tt/1C9lXTD
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSEIF:REGION = Central America / Caribbean|*
Central American/Caribbean News Headlines

*|FEEDBLOCK:http://ift.tt/1FQVQvC
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSEIF:REGION = Eastern Europe / Russia|*
Eastern Europe/Russia News Headlines

*|FEEDBLOCK:http://ift.tt/1C9lXTF
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSEIF:REGION = Middle East|*
Middle East News Headlines

*|FEEDBLOCK:http://ift.tt/1C9m01K
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSEIF:REGION = Oceania|*
Oceania News Headlines

*|FEEDBLOCK:http://ift.tt/1FQVQLT
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSEIF:REGION = South America|*
South American News Headlines

*|FEEDBLOCK:http://ift.tt/1FQVQLW
*|FEEDITEM:TITLE|**|END:FEEDITEMS|**|END:FEEDBLOCK|**|ELSE|*nil*|END:IF|*
Your region is set to *|REGION|*.  Change Region >>

Aucun commentaire:

Enregistrer un commentaire