我从 themeforest 购买了 HTML 登陆页面主题。该主题选择了电子邮件形式。现在我想将它与 getresponse 集成 - 这样它就可以像常规的 getresponse Web 表单一样工作。我该怎么做?
HTML 主题代码是:
<form method="post" action="[[ PUT_THE_URL_YOUR_FORM_POSTS_TO_HERE ]]">
<input type="email" placeholder="Enter your e-mail" name="email" id="email">
<input type="submit" name="submit" id="submit" value="Sign Up"/>
</form>
最佳答案
在您的 GetResponse 帐户中,您应该转到 Web 表单菜单,选择“创建新 Web 表单”,然后转到“纯 html”选项卡。 在那里您将看到一些如下代码 - 其中包含您所需的一切:
<form action="https://app.getresponse.com/add_subscriber.html" accept-charset="utf-8" method="post">
<!-- Email field (required) -->
email: <input type="text" name="email"/><br/>
<!-- Campaign token -->
<!-- Get the token at: https://app.getresponse.com/campaign_list.html -->
<input type="hidden" name="campaign_token" value="CAMPAIGN_ID" />
<!-- Subscriber button -->
<input type="submit" value="Subscribe"/>
</form>
别忘了除了 action="https://app.getresponse.com/add_subscriber.html"
您确实需要使用<input type="hidden" name="campaign_token" value="CAMPAIGN_ID" />
指定广告事件的ID在表单代码内。
关于获取回复表格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14285825/