获取回复表格

时间:2013-01-11 20:04:21

标签: getresponse

我从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>

1 个答案:

答案 0 :(得分:2)

在GetResponse帐户中,您应该转到webforms菜单,选择“创建新的网络表单”,然后转到“Plain 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。