-1

我已经阅读了 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:|

因为我不知道要关闭什么感兴趣的合并标签或如果合并标签我得到了一些乱码,但我认为有些东西是错误的。

4

2 回答 2

1

澄清:您是否尝试:1)创建一个细分以发送活动;或 2) 导致特定信息出现在活动中,具体取决于订阅者所在的组?

以下是您可以用来控制广告系列中显示的文本的方法

*|INTERESTED:Categories:IT course|*
  *|INTERESTED::Cities:New York|*This text will appear only if category is "IT Course" and cities is "New York"
  *|ELSE:|*This text will appear only if category is "IT Course" and cities is not "New York"
  *|END:INTERESTED|*
*|ELSE:|*This text will appear only if category is not "IT Course"
*|END:INTERESTED|*

您可以嵌套组包含 (INTERESTED ... END:INTERESTED) 和常规字段 IF:field= 和 END:IF 部分

于 2013-09-26T23:39:05.343 回答
0

如果有人对此感兴趣,我已经找到了解决方案:D


|INTERESTED:Categories: IT course>|
    |INTERESTED:Cities: New York|
        Categories: IT course & Cities: New York were selected
    |ELSE:|
        |INTERESTED:Categories: IT course|
            this is because if you dont find users
            with Categories: IT course & Cities: New York
        |END:INTERESTED|
    |END:INTERESTED|
*|ELSE:|*
    |INTERESTED:Cities: New York|
        This will print if Categories: IT course were FALSE
    |END:INTERESTED|
*|END:INTERESTED|*

但现在我有不同的问题,它涉及所有这些。现在如何跳过向没有任何东西的人发送电子邮件选择???:D 我的朋友建议尝试使用分段和 API,但我也想听听其他人的意见。

于 2013-09-20T19:15:09.720 回答