mailchimp

MailChimp API v3 campaign content template sections

泪湿孤枕 提交于 2019-12-21 09:16:39
问题 I'm referring to this page in the API documentation when trying to programatically create content for a MailChimp campaign. I have the following section in my template and I'm trying to change its content: <td mc:edit="body">To be replaced by API</td> and here is the JSON request: {"template":{"id":"170189","sections":{"body":"testing content"}}} But the content isn't being changed! Everything else is working, eg template 170189 is being loaded into the campaign. Any hints? 回答1: Fixed - mc

Mailchimp - add checkbox to list fields

江枫思渺然 提交于 2019-12-21 07:55:20
问题 I started to use mailchimp and finds it very helpful. However, I would like to add to my list a checkbox field, and cannot find it. I neither find a way to give a default value (for example, I could think of a non-elegant way to use a radio button instead of a checkbox...). Help please? Thanks! 回答1: MailChimp handles their information very specifically: Fields are for information about each subscriber that help you identify them (first name, last name, email, city, state, gender, etc). Fields

Mailchimp - add checkbox to list fields

本秂侑毒 提交于 2019-12-21 07:55:11
问题 I started to use mailchimp and finds it very helpful. However, I would like to add to my list a checkbox field, and cannot find it. I neither find a way to give a default value (for example, I could think of a non-elegant way to use a radio button instead of a checkbox...). Help please? Thanks! 回答1: MailChimp handles their information very specifically: Fields are for information about each subscriber that help you identify them (first name, last name, email, city, state, gender, etc). Fields

Realize Mailchimp Double-Opt-In with API 3.0

不打扰是莪最后的温柔 提交于 2019-12-20 09:11:05
问题 I´m looking for a comfortable way to realize double opt-in via mailchimp API 3.0 . It looks like there was an option in version 2.0 which told mailchimp to send an opt-in confirmation email automatically as soon as a new member is added via API call. It seems this parameter is not available any more in API 3.0. Has anyone an idea how to realize it with the new version of the API? 回答1: When using Double Opt In on a list, people who have filled out your signup form will have an API status of

MailChimp API 2.0 and PHP Subscribe Form

点点圈 提交于 2019-12-20 06:28:10
问题 So I have a form that submits an email string. I want this to go into a MailChimp list I have setup that has an email, first name, and last name. For this particular form, I only want it to send an email and leave the first and last name fields blank. Anyways, after looking at the documentation (I'm not a super pro at this), but I put together the PHP that processes once the form has been submitted. Anyways it doesn't work, the email doesn't get added to my MailChimp list. I even double

Using cURL to POST form to two places

不问归期 提交于 2019-12-19 10:12:51
问题 Yesterday I asked a question about how I could go about hijacking my MailChimp contact form to send an additional email (when certain conditions are met). I wrote changed the action="... from the MailChimp URL to my own process_email.php with code resembling the following: extract($_POST); $url = 'http://myMailchimpUser.us2.list-manage.com/subscribe/post'; $fields = array( 'u' => urlencode($u), 'id' => urlencode($id), 'group' => http_build_query ($group), 'MERGE1' => urlencode($MERGE1),

MailChimp API 3.0 batch/bulk subscribe

半世苍凉 提交于 2019-12-19 04:42:45
问题 For MailChimp API 2.0 there was a method 'batch-subscribe', to send in an array of email addresses to be added to a specific list in MailChimp. How to implement this in the new Rest Architecture based MailChimp API 3.0? See https://github.com/mailchimp/APIv3-examples/wiki/Overview It says it would work with array of objects But by the schema it only accepts an object Schema https://us9.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json 回答1: The page you're linking to look like docs

MailChimp API 3.0 batch/bulk subscribe

时间秒杀一切 提交于 2019-12-19 04:42:13
问题 For MailChimp API 2.0 there was a method 'batch-subscribe', to send in an array of email addresses to be added to a specific list in MailChimp. How to implement this in the new Rest Architecture based MailChimp API 3.0? See https://github.com/mailchimp/APIv3-examples/wiki/Overview It says it would work with array of objects But by the schema it only accepts an object Schema https://us9.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json 回答1: The page you're linking to look like docs

Mailchimp how to call mailchimp 3.0 API in javascript

只谈情不闲聊 提交于 2019-12-18 08:53:48
问题 I am trying to subscribe an email to a list on mailchimp, I followed the documentation first, made a request using "Postman" added what was needed and everything works just fine, so I tried to do it on my website and it didn't work I tried to made a simple request with the same values I set on postman, but everytime I try to send the request the response says XMLHttpRequest cannot load https://us12.api.mailchimp.com/3.0/lists/xxxxxx/members. Response to preflight request doesn't pass access

Create campaign with dynamic segment using MailChimp API V3.0

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-18 06:49:14
问题 Using MailChimp API V3.0 to create a campaign. I want to create a campaign that sends to users with a specific interest. It looks like this is possible in the docs, but I've tried every permutation I can think of. I can create the campaign fine as long as I leave out the segment_ops member. Does anyone have an example of PHP code that will do it? It seems that interests are handled strangely since you don't include the interest-category when setting a users interests via the API. I'm not sure