问题标签 [mailchimp]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
2961 浏览

mailchimp - 使用 Mailchimp API 更新 Mailchimp 中的电子邮件地址

我正在尝试将个人记录从我的数据库同步到 mailchimp。我可以更新除电子邮件以外的所有字段。电子邮件我只能更新一次。再次更新时会引发错误。我正在使用他们的 java API。这就是我正在做的 -

重新更新的错误消息是 -

com.nwire.mailchimp.MailChimpServiceException: oldEmail@email.com 不是 com.nwire.mailchimp.MailChimpServiceFactory$ClientFactory$1.invoke(MailChimpServiceFactory.java:190) at $Proxy0.listUpdateMember(Unknown Source) at com 的 listName 成员.nwire.mailchimp.test.TestMCList1.updateDetails(TestMCList1.java:121) 在 com.nwire.mailchimp.test.TestMCList1.sync(TestMCList1.java:92) 在 com.nwire.mailchimp.test.TestMCList1.run(TestMCList1 .java:52) 在 com.nwire.mailchimp.test.TestMCList1.main(TestMCList1.java:35)

请注意,错误消息中的 oldEmail@email.com 是 Mailchimp 中的原始电子邮件地址,我已成功更新过一次,但仍显示在重新更新中。

谢谢

0 投票
1 回答
1659 浏览

outlook - MailChimp 模板在 Outlook 中看起来不对,在所有浏览器中都可以

我很难找出为什么我的 html+css 在浏览器和 mailchimp 预览功能中看起来不错,但在 Outlook 的收件箱中看起来很丑。

在 html Outlook 电子邮件中是否有一些无法完成的事情?

这是源代码:

在当前版本中,我已经对所有图像路径进行了硬编码,并且它们显示正确。

这是完全错误的格式。

0 投票
1 回答
2668 浏览

javascript - Mailchimp 注册成功淡入/隐藏

我在我的网站上使用 mailchimp 电子邮件注册 & 我想知道是否有一种简单的方法可以在 5 秒后淡化“等待您的确认”div,这样它就不仅仅是坐在那里或要求用户点击另一个页面删除它?

任何帮助都会很棒。

js代码如下:

0 投票
1 回答
1046 浏览

ruby - MailChimp API 1.3 + Hominid 3 + 分组

出于某种原因,我无法让最新版本的 Hominid 与 MailChimp 中的分组一起使用。

这是我正在做的一个片段:

我似乎尝试了数组和哈希的每种组合来使分组工作,但我不断收到此错误的变体:

任何帮助,将不胜感激!

0 投票
2 回答
1875 浏览

php - Wordpress - 仅允许在提交表单后显示页面

我在 WordPress 安装中有两个页面 - 一个带有 MailChimp 注册表单,然后是第二个页面,其中显示了用户在完成 MailChimp 注册表单后发送的感谢消息。

现在,感谢页面只是一个普通的 WordPress 页面。虽然导航中没有指向它的链接,但如果您有 URL,则可以直接访问该页面。

但是,我需要使这个页面不能被访问,除非提交了注册表单,并且我还需要确保页面不能被刷新。我该怎么做呢?

0 投票
1 回答
5870 浏览

mysql - How Do I Achieve Mailchimp List + External Database List Status Synchronization?

I'm new to the world of MailChimp and custom API integrations so please bear with me. I'm also an internet marketer (not a developer),

so please bear with me even more ;)

The Situation:


We have a platform with user accounts, data etc. Currently this platform utilizes custom, on-platform newsletter system and list management. This on-platform system doesn't work...at all :(. So,

we're migrating the whole system to MailChimp.

The Problem:


We need to make sure that our newsletter list is updated both on our site (LAMP stack) and MailChimp.

Essentially, we want the following to happen:

  1. If a user subscribes/unsubscribes/updates their newsletter subscription from within their profile on our platform, that MailChimp receives this information
  2. If someone subscribes/unsubscribes/updates their MailChimp Subscription from merge tags in emails or self-hosted form items, that this information gets pushed back to our database

Simply, both lists would remain equal, independent, and updated.

We have 3 newsletter types in 3 languages each. In order to create filters for each of these newsletters we will 1) create three groups and 2) create segments within each of these groups based on user language preferences, which come from our database. We use Zoho CRM to

import into MailChimp

The Question:


How do we do it? (Kidding...) What are the necessary API calls that we need to make to ensure that we can synchronize our platform's MySQL columns that pertain to list management with MailChimp?

What is the best way to provide form elements on MailChimp that users can use to administer their subscription statuses from within our platform. (We have three newsletter types, and as soon as a user updates something on our site, we want that not only to 1) go to mailchimp (the easy part), but 2) come back to our website and update our own MySQL database columns.

What would be the most seamless and least-hair-pulling way to make sure that we can keep Zoho CRM, our site and MailChimp updated with the most recent subscription data. I was thinking:

  1. Export from our site into Zoho
  2. Import from Zoho Into MailChimp
  3. Pull data from MailChimp back into our website (just the status of newsletter subscriptions)

My idea is that we would iterate this process weekly or so. Is this ok or just way off the mark?

Many, many thanks in advance and I'm happy to clarify anything.

0 投票
1 回答
792 浏览

ruby-on-rails - Rails 3 和 MailChimp - 加快速度

目前我有一个 Rails 3 应用程序,可以为新用户订阅 MailChimp。作为我的用户模型的一部分,我有这个:

然后,这三个动作中的每一个都是对此的一些变化:

问题是这会减慢注册过程...返回可能需要 3 或 4 秒,而且我担心一旦网站上的闸门打开(可能是今天晚些时候),它会荒谬地消失手。

有没有一种简单的方法可以让这更快,或者我需要设置像delayed_job这样的东西吗?

0 投票
1 回答
240 浏览

json - Mailchimp API 最近有变化吗?Wordpress MailChimp 框架未经修改突然停止工作

我有一个 Wordpress 网上商店设置,我正在使用 Wordpress MailChimp 框架来发送新闻通讯等。现在,设置从 1 月 1 日开始运行,然后 Mailchimp 框架突然停止发送。“Everything's Chimpy” ping 状态也没有出现,有时是 NULL,有时是垃圾字符。我很确定我没有接触过插件的任何代码,并且有一个完全不同的项目的同事也经历过它。

你们中是否有人也遇到过这种情况?我已经给 mailchimp 发了电子邮件,但截至今天,他们只是把我传给了他们的另一组,到目前为止还没有回复。

另外,我记得他们以前的回复是“text/json”,但现在我看到回复内容类型为“application/json”。我找不到任何关于这些的帖子...

0 投票
1 回答
6047 浏览

mailchimp - Mailchimp API 和可重复部分

有没有人能够成功使用 Mailchimp API 来填充可重复区域?

尝试了各种方法,但无济于事。

在模板中,我有:

div mc:repeatable

div mc:edit="repeat_content"

这表明数组应该是:

$content['repeat_content'][] = "Content 1";

$content['repeat_content'][] = "Content 2";

但是,当调用campaignTemplateContent

它返回

数组['repeat_content'] = Content1Content2

发送的电子邮件中没有任何内容被替换。

当我删除 mc:repeatable div 并且只有 mc:edit - 内容被替换得很好。

任何帮助将非常感激!

0 投票
3 回答
86588 浏览

html - 使用他们的 API 创建一个基本的 MailChimp 注册表单

我是 MailChimp 的新手,需要一些帮助。

使用他们的基本时事通讯注册表单……您只需将一些预先打包的 HTML 嵌入到您的页面中。然而,这样做的问题是单击提交重定向到 MailChimp 页面。(我不想重定向到 MailChimp,我希望用户在点击提交后留在自己的网站上。

它们提供 API 和大量文档,但有用的示例几乎为零。API 应该允许我与我的站点或应用程序进行完全集成。似乎当我在他们的文档中阅读适用于我的内容时,我单击链接以获取更多信息,最终我会绕着圈子转。他们告诉你怎么做,但他们没有“告诉”你怎么做。

我可以获得一个 API 密钥,他们有大量的文档,以及一大堆包装器和插件……PHP、Drupal、Wordpress 等……

这里关于他们的预打包解决方案的困惑是我只有一个常规的静态 HTML 页面,它不是 Wordpress、PHP 或 Drupal ......所以我只是不知道从哪里开始......我什至不知道如果我应该使用POSTor GET

我不是 API 的新手......我在让 Google Maps API 做任何我想做的事情方面做得很好。然而,除了我学习它的详细文档之外,谷歌还提供了真实世界的工作示例。在掌握 API 的细节之前,我只想看看它的实际效果。

在他们的在线文档中没有任何可靠的示例或教程,我正在询问如何使用他们的 API 创建最基本的 HTML 注册表单。