Follow

Newsletter Signup

Overview

This code allows you to create a custom newsletter subscribe form, and insert it into your company's CRM mailing list within Pabau.

Sample HTML Code

<form action="http://crm.pabau.com/OAuth2/newsletter-signup/newsletter-form.php" method="post">
<label>Subscribe to our mailing list</label>
<input type="email" value="" name="email" placeholder="email address">
<input type="text" value="" name="fname" placeholder="First Name">
<input type="text" value="" name="lname" placeholder="Last Name">


<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
<input type="hidden" name="list_id" value="123"/>
<input type="hidden" name="company_id" value="321"/>

<input type="hidden" name="redirect_url" value="https://pixabay.com/en/thank-you-text-message-note-394180"/>
</form>

Parameters

 list_id  The ID of the newsletter list you are inserting the data into (found here
company_id This ID number can be found when logging in. (found here)
redirect_url This will redirect the user back to this page (this should be input type="hidden")
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.