在&QUOT MailChimp有兴趣的价值;集团"始终为假后"订阅" [英] MailChimp Interested Value in "Group" always false after "subscribing"

查看:175
本文介绍了在&QUOT MailChimp有兴趣的价值;集团"始终为假后"订阅"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我送过来适当的JSON格式的code,根据V2 API文档:

I send over proper json formatted code, according to v2 api docs:

列表/ subscribe.json

"GROUPINGS":[{"id":removed_id,"name":"grouping_name","groups":["group_name"]}]

我回去有关成员的信息......这并不是说他们有兴趣在该组名。

I get back information about a member... It does not say they are interested in that group name..

列表/成员info.json

"GROUPINGS":[{"id":removed_id,"name":"grouping_name","form_field":"hidden","groups":
[{"name":"group_name","interested":false},{"name":"other_group_name","interested":false},
{"name":"other_group_name2","interested":false},{"name":"other_group_name3","interested":false}]}]

我不明白我怎么能得到这些用户显示为订阅的一组分组我在。我一直在尝试了近5个小时。我曾尝试:

I do not understand how I can get these users to show up as "subscribed" to a group within my grouping. I have been trying for nearly 5 hours now. I have tried:


  • 确保该组值是[]数组。

  • 尝试使该值的字符串(令人惊讶的没有抛出错误)

  • 在merge_vars发送时,资本分组

  • 在merge_vars发送时未能好好利用分组

  • 使用列表/更新-member.json方法来更新这些群体

  • 使用我的利益集团的名称,而不是分组阵列中的分组。

  • 使用两个真假
  • 选项replace_interests
  • making sure the groups: value is an [] array.
  • trying out making that value a string (which surprisingly did not throw errors)
  • capitalizing "GROUPINGS" when sending it in merge_vars
  • not capitalizing "groupings" when sending in merge_vars
  • using the lists/update-member.json method to update these groups
  • using the name of my interest group instead of grouping in the grouping array.
  • using the option replace_interests on both true and false

推荐答案

在最后,

我不得不电子邮件mailchimp支持票。在不改变我的code在所有 - 今天早上的作品。有趣的是,mailchimp昨天遇到了许多问题与服务器当机和所谓的电子邮件hackings。

I had to email mailchimp a support ticket. Without changing my code at all - it works this morning. Interestingly enough, mailchimp was experiencing many issues yesterday with servers being down and alleged email hackings.

要明确哪些我的code版本的工作 - 严格遵守了API为V2

To be clear about which version of my code worked - following the API exactly for v2.

这是在mailchimp结束一个错误。

{
   "id":"MY LIST ID",
   "email":{
      "email":"THE EMAIL TO SUBSCRIBE"
   },
   "merge_vars":{
      "GROUPINGS":[
         {
            "id":THE GROUPING ID,
            "groups":[
               "THE NAME OF MY GROUP"
            ]
         }
      ]
   },
   "double_optin":false,
   "replace_interests":true,
   "apikey":"MY API KEY"
}

此外,如果当您发送的群体都应该为替换现有组的用户有兴趣你很好奇,replace_interests是真实的。假表明您通过组应添加以利益集团。

Also, in case you are curious, replace_interests is true when the groups you send are supposed to replace existing groups the subscriber is interested in. False indicates that the groups you pass should be added to the interest groups.

如果你正在更新一个成员(方法:列出/更新会员),它可能是最好设置replace_interests为false,公正,以确保它不会覆盖现有的利益集团(可能与空白组)。它的默认值是true,所以这可能是另一个地方容易出错。

If you are updating a member (method: lists/update-member), it may be best to set replace_interests to false just to make sure it does not overwrite your existing interest groups (possibly with blank groups). The default value for it is true, so this could be another place prone to error.

这篇关于在&QUOT MailChimp有兴趣的价值;集团"始终为假后"订阅"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆