2017-06-01 47 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