mailchimp

MailChimp Campaign Content Update

夙愿已清 提交于 2019-12-05 03:02:40
MailChimp campaign content docs - https://developer.mailchimp.com/documentation/mailchimp/reference/campaigns/content I'm trying to replace some placeholders in a campaign content with actual values via the API. At first, I thought there might be some syntax errors or internal logic errors like non-unique mc:edit s into a mc:repeatable that would get the HTML refused/declined by MailChimp, hence the update not taking place, however, that was not the case. Tried replacing html with a simple <p>test</p> and it was still not working. Here are a couple of local logs, I'll use xyz as my campaign id

Can not get MailChimp to save my data using the API with Curl

China☆狼群 提交于 2019-12-05 00:26:23
问题 I have tried and tried to send data to MailChimp using curl but cannot get the data to save in MailChimp. Any help with this would be greatly appreciated! Here is my code: $mailChimpUrl = "http://us2.api.mailchimp.com/1.3/?method=listSubscribe"; $merges = array( 'FNAME'=>'Dave', 'LNAME'=>'Gilmour', 'BUILDING'=>'Central High School', 'MMERGE17' => '35904', 'MMERGE12'=>'Yes' ); $apikey="myrealapiishere-us2"; $listId="myrealformidishere"; $email="zz22@aol.com"; $double_optin=true; $update

Subscribing users with groups through MailChimp 2.0 API

偶尔善良 提交于 2019-12-04 23:59:25
I've been working on this problem for hours and can't seem to find the solution, hopefully someone can help! I'm trying to create a simple MailChimp subscribe form on an HTTPS site and hence must use the API. I am using the "super simple mailchimp-api" PHP wrapper they suggest, and am trying to add my subscribers to interest groups based on checkboxes selected in the form. All the relevant checkboxes are named "group[]" so that PHP will POST them as an array. I am passing the below to the wrapper: $MailChimp = new MailChimp('api_key_removed'); $result = $MailChimp->call('lists/subscribe',

How to find people who clicked on a specific campaign using Mailchimp API v3

烂漫一生 提交于 2019-12-04 21:24:23
How do I find the list of all people who clicked on a specific campaign through Mailchimp API v3 ? I think Email Activity is what you are looking for. the emails field contains all emails that opened the campain. 来源: https://stackoverflow.com/questions/37741487/how-to-find-people-who-clicked-on-a-specific-campaign-using-mailchimp-api-v3

Is there a way not to redirect people to a “thank you” page with Mailchimp?

∥☆過路亽.° 提交于 2019-12-04 19:44:21
I saw on the Mailchimp website that you can redirect the user to a custom thank you page when they subscribe to your mailing list, but that's not exactly what I want to do. When a user subscribe to my mailing list, I want to hide the form and replace it with a thank you note directly on my page without any redirection. Is there a way to do that? You can do this by modifying the form action. Change “subscribe/post” to “subscribe/post-json” … <form action="...list-manage.com/subscribe/post-json?u=...." Add a submit handler to the form: $("#subscribe-form").submit(function(e){ e.preventDefault();

mailchimp api 2.0 subscribe through php?

柔情痞子 提交于 2019-12-04 18:31:52
问题 I need an example of how to subscribe a email address to mailchimp newsletter. Please check new api link here: https://bitbucket.org/mailchimp/mailchimp-api-php This is new malichimp api and I am not sure how to use it. :( For MailChimp 2.0 API, not for 1.3. Please somebody provide an example on how to subscribe user to mailchimp. Thank You. Edit1: Already tried following code, but not working: $merge_vars = array('MM1'=>$mm1); $MailChimp = new Mailchimp($apikey); $result = $MailChimp->call(

how to add email address to mailchimp list using api call in php

一个人想着一个人 提交于 2019-12-04 14:03:47
问题 i am newbie in mailchimp. just now i have created account and got api key. i have gone through their api for adding email address to the list but didn't help it. i have contact us form and when user clicks on submit button i want to add user's email id in my mailchimp database. i have tried with this code also but getting 104 error.. $apikey = '***********-us3'; $listID = '*******'; $email = "********"; $url = sprintf('https://us2.api.mailchimp.com/2.0/lists/subscribe&apikey=%s&id=%s&email

Add WordPress featured image to RSS feed

荒凉一梦 提交于 2019-12-04 10:51:06
问题 I'm setting up an RSS to email campaign in MailChimp using my WordPress RSS Feed, and I want to include the featured image in my MailChimp template. I've tried using this to add the image, which works, but it simply adds it to the content, which doesn't work for MailChimp section of the RSS code: function featuredtoRSS($content) { global $post; if ( has_post_thumbnail( $post->ID ) ){ $content = '' . get_the_post_thumbnail( $post->ID, 'thumbnail', array( 'style' => 'float:left; margin:0 15px

Email Template builder like Mailchmip [closed]

让人想犯罪 __ 提交于 2019-12-04 10:01:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . i want to edit email templates like mailchimp, is there any jQuery plugin available which is similar to email builder like mailchimp, which i can integrate in my php application. 回答1: Yes it's called jQuery drag and drop template builder: http://simbyone.com/drag-and-drop-newsletter-builder-using-jquery/ 回答2:

Mailchimp API and Repeatable Sections

a 夏天 提交于 2019-12-04 07:42:39
Has anyone been able to successfully use the Mailchimp API to populate repeatable areas? Have tried all sorts, but to no avail. In the template, I have: div mc:repeatable div mc:edit="repeat_content" This suggests that the array should be: $content['repeat_content'][] = "Content 1"; $content['repeat_content'][] = "Content 2"; However, when calling campaignTemplateContent It returns array['repeat_content'] = Content1Content2 And nothing gets replaced in the Email that is sent. When I remove the mc:repeatable div and just have mc:edit - the content is replaced fine. Any help would be much