javascript - Dynamic "merge_fields" for Mailchimp
问题描述
For now I have the only predefined |MERGE| tag called "POSTCODE" in my Mailchimp list settings. For the long time users were added to this list with only this field filled, but now the task is to transform this single "POSTCODE" text field into array of the postcodes.
Mailchimp isn't provide array type for field in settings and fields can't be added dynamically, only manually.
The only solution I can see now is to add "POSTCODE_1", "POSTCODE_2" ... "POSTCODE_N" fields manually and fill them from the API calls. Or to fill this text field with postcodes merged by comma.
My question is, can we somehow do this dynamically? Add fields in case of necessity, or use an array of postcodes for single field?
Thank you.
解决方案
推荐阅读
- ssh - 在我几乎无法控制服务器的情况下,如何通过 SSH 连接轻松编辑文件?
- django - 在 Django 上进行 Post 预览的最有效方法是什么?
- javascript - 如何使其多部分选择过滤角度
- python - Scipy 最小化迭代过去的界限
- r - 如何遍历列表并使用前一个元素?
- sql - 如果外键是另一个表的主键,为什么它可以为空?
- visual-c++ - 出现错误 LNK2019:使用 MSVC 在 Windows 中编译 SDL2 代码时出现无法解析的外部符号
- c - Why `pow(sum,1/2)` is not giving me the same result as `sqrt(sum))`?
- firebase - Flutter/Firebase 实时数据库:如何使用 equalsTo?
- listview - TListView 项目详细字体到等宽字体