我已经阅读了 mailchimp 网站上从所有 api 文档到博客评论的所有内容:D,甚至在支持的情况下进行了交谈(聊天)。支持帮助了我一些原因,但我不知道:D 合并标签有 IF 和 ELSEIF 语句,并且在 OR 逻辑上工作,没有 AND !如果你问我有点 blaaahhhhh... 我有一个包含 2 个组的列表(组标题:具有组名称的类别:语言课程、IT 课程、急救课程、烹饪课程;
组名称:组名称的城市:纽约、华盛顿、斯普林菲尔德、德克萨斯)
我想向具有以下条件的用户发送活动:类别:IT 课程或和城市:纽约
我努力了:
|INTERESTED:Categories:IT course|
|INTERESTED:Cities:New York|
(STEP 1) This text will print only to New York & IT Course Subscribers;
|END:INTERESTED:|
This text will print only to IT Course Subscribers;
BUT if they already are receiving from step ONE (STEP 1)
This will duplicate the msg
|END:INTERESTED:|
So i tried this:
|INTERESTED:Categories:IT course|
|INTERESTED:Cities:New York|
(STEP 1) This text will print only to New York & IT Course Subscribers;
|END:INTERESTED:|
*|ELSE:|*
BUT this is okey :D but what if they dont have IT course selected
where will the "Cities:New York" message print ??? SOOO.... next step xD
|END:INTERESTED:|
It should be something like this. Right?
|INTERESTED:Categories:IT course|
|INTERESTED:Cities:New York|
(STEP 1) This text will print only to New York & IT Course Subscribers;
|END:INTERESTED:|
*|ELSE:|*
|INTERESTED:Categories:IT course|
(STEP 2) This text will print only to IT course Subscribers;
|END:INTERESTED:|
*|ELSE:|*
|INTERESTED:Cities:New York|
(STEP 3) This text will print only to New York Subscribers;
and this gets duplicated but it shouldnt even get executed
|END:INTERESTED:|
*|END:INTERESTED:|*
和复杂的步骤如果我有一个类别和两个城市怎么办
|INTERESTED:Categories:IT course|
|INTERESTED:Cities:New York, Washington|
(STEP 1) This text will print only to New York, Washington & IT Course Subscribers;
|END:INTERESTED:|
*|END:INTERESTED:|*
how to do this one ???
:D
我认为这是可能的,但我在嵌套中找不到任何错误。我希望你有更好的想法和嵌套计划;)
有没有人试过|IF:| 在|有兴趣:...| 在文档中看到过。有|ELSE| 子句而不是|IF| 也不|ELSEIF| 所以我问了支持,他们告诉我尝试一下(我的结论他们不知道),我很惊讶,所以我尝试了,当然语法是错误的。我尝试了什么?一些变化:这是正确的语法(正常) |感兴趣:...| *|结束:有兴趣:|*
|有兴趣:...| ... |否则:| ... |结束:感兴趣:| . . .
我试过: |如果:感兴趣:...| ... |ELSEIF:| ... |结束:感兴趣:|
和
|如果:有兴趣:...| ... |ELSEIF:| ... |ENDIF:|
因为我不知道要关闭什么感兴趣的合并标签或如果合并标签我得到了一些乱码,但我认为有些东西是错误的。