Legacy Form documentation

  • 12 September 2023
  • 3 replies
  • 412 views

Badge

Hi, I’m Using Legacy form and want to get first name and a custom text that user inputted and tag the profile based on interest in klaviyo list.

Here is my form:

   <form
id="email_signup"
class="klaviyo_styling klaviyo_gdpr_embed_myID email-capture__form"
action="//manage.kmail-lists.com/subscriptions/subscribe"
data-ajax-submit="//manage.kmail-lists.com/ajax/subscriptions/subscribe"
method="GET"
target="_blank" novalidate="novalidate">

<input type="hidden" name="g" value="myID">

<input class="form-control" id="name" type="text" placeholder="Your Name" data-sb-validations="required" />

<input class="form-control" id="k_id_email" type="email" placeholder="Your Email" data-sb-validations="required,email" />

<input class="form-control" id="customtag" type="text" placeholder="Your Message" data-sb-validations="required" />

<button type="submit" class="klaviyo_submit_button">Subscribe</button>

<div class="klaviyo_messages">
<div class="success_message" style="display:none;"></div>
<div class="error_message" style="display:none;"></div>
</div>
</form>


<script type="text/javascript">
KlaviyoSubscribe.attachToForms('#email_signup', {
hide_form_on_success: true,
extra_properties: {
$source: 'ContactPage',
Brand: 'Klaviyo'
}
});
</script>

 


3 replies

Userlevel 7
Badge +60

Hey @bluesnapper would you happen to know how to advice @myemailwork on how to do this with a legacy form?

Hey @myemailwork,

Have you been able to find any documentation?  

I’ve been postponing a Klaviyo integration because I need the legacy form.

It doesn’t make sense there is no documentation, it has to be somewhere. A company with the size of Klaviyo doesn’t just delete stuff. 

To anyone reading this and that got documentation, please please please reply. I need it in the next 3 days or we need to switch to a different mailing tool. 

Userlevel 7
Badge +60

Hi there @Maurits

 

Our legacy form documentation has since been moved to our Developer portal and you will find everything you need there! 

 

-Taylor 

Reply