期待给予MailChimp动态内容? [英] Looking to give MailChimp dynamic content?

查看:221
本文介绍了期待给予MailChimp动态内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好,所以我打算用MailChimp发送每周一次的电子邮件。
电子邮件将包含最新的20个库存清单(车库车库)给他们的订阅者。



我似乎无法得到这个使用RSS Feed作为想象的,所以我想知道有什么其他方法可以每周将一些格式化的HTML(在PHP文件中)添加到MailChimp模板的主体中?



非常感谢。

解决方案

如果想在发送时将自定义内容注入模板,我建议有一个查看创建使用我们的模板语言的自定义模板。



如果您使用我们的模板语言在MailChimp中创建了自定义模板,以指定可编辑的内容区域: http://templates.mailchimp.com/getting-started/template-language/ ,那么你可以通过API更新这些内容区域。



为了做到这一点,你需要制作ei一个广告系列/创建电话: https://apidocs.mailchimp.com/api/ 2.0 / campaigns / create.php 或广告系列/更新通话: https ://apidocs.mailchimp.com/api/2.0/campaigns/update.php ,并指定要作为content参数一部分更改的部分和内容。内容部分将对应于添加到自定义模板中的mc:编辑标签。



您还可以自定义您的内容,如添加第一个以您的内容正文中的问候语为例,甚至使用合并标签。我强烈建议您检查这些内容,并考虑在您的内容中使用它们,如果您需要该级别的自定义:合并标签入门: http://kb.mailchimp.com/merge-tags/using/getting-started-with-merge-tags


Ok so I'm looking to send out a weekly scheduled email with MailChimp. The email is to contain the newest 20 of the stock list (car stocklist of garage) to their subscribers.

I can't seem to get this to work with an RSS feed as imagined so i wondered is there any other way to get some formatted HTML (in a PHP file) into the body of MailChimp template on a weekly basis?

Many thanks.

解决方案

If looking to inject custom content into a template at the time of sending, I would recommend having a look into creating a custom template that uses our template language.

If you've created a custom template within MailChimp using our template language to specify editable content areas: http://templates.mailchimp.com/getting-started/template-language/, then you would be able to update those content areas via the API.

To do this, you'll want to make either a campaigns/create call: https://apidocs.mailchimp.com/api/2.0/campaigns/create.php or a campaigns/update call: https://apidocs.mailchimp.com/api/2.0/campaigns/update.php and specify the section and content that you'd like to change as part of the 'content' parameter. the content 'sections' will correspond to the mc:edit tags that were added to the custom template.

You also have the ability to customize your content, like adding a first name to a greeting in the body of your content for instance, even further with the use of merge tags. I highly recommend checking those out as well and consider using them in your content if you need that level of customization: Getting Started with Merge Tags: http://kb.mailchimp.com/merge-tags/using/getting-started-with-merge-tags

这篇关于期待给予MailChimp动态内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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