mailchimp

What is the purpose of each parameter in a MailChimp unsubscribe URL?

强颜欢笑 提交于 2021-01-27 10:37:11
问题 In the following URL, that unsubscribes a user from a list: http://xxxxx.us2.list-manage.com/unsubscribe? u=87f537bccxx35e53a1890e0d9& id=40dcxx6cd6& e=c4aaxx1dd6& c=9a6xx11963 What does each parameter do? 回答1: Today I had to learn what each nondescript parameter means so that I could generate URLs for each email I send through Mandrill. It wasn't that easy to discover their meaning, but here are the one's I've come up with and how I found out what they are. http://xxxxx.us2.list-manage.com

MailChimp. Error 401 (Unauthorized) when sending a request for adding a new list member

こ雲淡風輕ζ 提交于 2021-01-05 09:17:06
问题 Here is how I'm trying to send a request: fetch('https://us17.api.mailchimp.com/3.0/lists/185415c92c/members', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'anystring:8ec49e64f2041073d3fe56e0abc5fe5f-us17', }, body: JSON.stringify({ email_address: 'email@mail.ru', status: 'subscribed', }), mode: 'no-cors', }) And I get such error: POST https://us17.api.mailchimp.com/3.0/lists/185415c92c/members 401 (Unauthorized) What am I doing wrong? 回答1: The

Mailchimp API: Send campaign to users with tags

折月煮酒 提交于 2020-12-13 03:28:58
问题 I'm trying to send a campaing to a segment based on Tags (That is to list members with a specific tag) using API calls with mailchimp3 for Django, but I can't quite find what should be the right json structure to make it, this is what I've got so far: campaign_creation = { "type": "regular", "recipients": { "list_id": LIST_ID, "segment_opts": { "match": "any", "conditions": [{ "condition_type": "StaticSegment", "op": "contains", "field": "Tags", "value": ["foo"] }] } }, "settings": { "subject

@mailchimp/mailchimp_marketing/types.d.ts' is not a module in nodeJs

可紊 提交于 2020-12-13 03:07:39
问题 I imported import @mailchimp/mailchim_marketing in my NodeJS app: import mailchimp from "@mailchimp/mailchimp_marketing"; However, it gives following error: type.d.ts is not a module I have searched to see if there is a @types/@mailchimp/mailchimp_marketing but I couldn't see it. 回答1: The type.d.ts file provided by @mailchimp/mailchimp_marketing doesn't have the types of the library and the package doesn't have a @types package too. So it's necessary to create your own to override the

@mailchimp/mailchimp_marketing/types.d.ts' is not a module in nodeJs

放肆的年华 提交于 2020-12-13 03:05:46
问题 I imported import @mailchimp/mailchim_marketing in my NodeJS app: import mailchimp from "@mailchimp/mailchimp_marketing"; However, it gives following error: type.d.ts is not a module I have searched to see if there is a @types/@mailchimp/mailchimp_marketing but I couldn't see it. 回答1: The type.d.ts file provided by @mailchimp/mailchimp_marketing doesn't have the types of the library and the package doesn't have a @types package too. So it's necessary to create your own to override the