2017-06-01 35 views
0

我自己的HTML登记表Mailchimp集成我有一个注册表格这是一种原始的HTML与条纹的整合,现在我想整合邮件黑猩猩到它。我已经把代码在WordPress的

<p> 
<label> 
<input type="checkbox" name="mc4wp-subscribe" value="1" /> 
Subscribe to our newsletter. </label> 
</p> 

在我的html页面。我没有收到管理员面板中的用户列表。

回答

0

登录到您的MailChimp帐户,然后管理contacts->组然后创建一个有组复选框,然后去后,立即登记表格和嵌入代码会显示复选框编辑的代码下再形成像下面

<!-- Begin MailChimp Signup Form --> 
 
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css"> 
 
<style type="text/css"> 
 
\t #mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; } 
 
\t /* Add your own MailChimp form style overrides in your site stylesheet or in this style block. 
 
\t We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */ 
 
</style> 
 
<div id="mc_embed_signup"> 
 
<form action="//dada.us14.list-manage.com/subscribe/post?u=804ce11ffe4a5684c85f88d38&amp;id=d5ab97dfc9" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> 
 
    <div id="mc_embed_signup_scroll"> 
 
\t <input type="checkbox" value="1" name="group[4917][1]" id="mce-group[4917]-4917-0"><label for="mce-group[4917]-4917-0">Subscribe to our mailing list</label> 
 
</div> 
 
\t <div id="mce-responses" class="clear"> 
 
\t \t <div class="response" id="mce-error-response" style="display:none"></div> 
 
\t \t <div class="response" id="mce-success-response" style="display:none"></div> 
 
\t </div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> 
 
    <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_804ce11ffe4a5684c85f88d38_d5ab97dfc9" tabindex="-1" value=""></div> 
 
    <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div> 
 
    </div> 
 
</form> 
 
</div> 
 

 
<!--End mc_embed_signup-->
标签

+0

雅thatsfine,但我不需要一个额外的形式,要做到这一点,我需要到mailchimp形式集成到我在我的代码区给我目前的登记表。 – sugandhi

+0

我已经更新了答案,请检查它 –

+0

请参阅这里也我们有一个窗体的按钮,我已经有一个表单提交按钮它会做一些行动,我想整合邮件黑猩猩在该表单(在提交按钮),是否有更新邮件黑猩猩订户列表的钩子。 – sugandhi