Skip to main content
Solved

Form parameters $method_id and $method_type

  • July 17, 2022
  • 2 replies
  • 64 views

Forum|alt.badge.img+2
  • Contributor II
  • 3 replies

Hi,

What parameters $method_id and $method_type are used for?

I am using own legacy form and I couldn’t find any explanation how to fill it.

Kind regards

Best answer by stephen.trumble

Hey @Piotr 

Welcome to the Klaviyo Community! Happy to help with your legacy form.

The $method_id  and $method_type are used to specify the form type (embed, popup or flyout). However you will only need to use these fields if you are creating an embedded legacy signup form. If you are creating an embedded signup form you can follow the document I linked and use the code given verbatim.

I linked the help center articles for popups and flyouts as well if you aren’t using an embed form.

Hope this helps and thank you again for joining the Klaviyo Community!

2 replies

stephen.trumble
Forum|alt.badge.img+60
  • Klaviyo Alum
  • 1515 replies
  • Answer
  • July 18, 2022

Hey @Piotr 

Welcome to the Klaviyo Community! Happy to help with your legacy form.

The $method_id  and $method_type are used to specify the form type (embed, popup or flyout). However you will only need to use these fields if you are creating an embedded legacy signup form. If you are creating an embedded signup form you can follow the document I linked and use the code given verbatim.

I linked the help center articles for popups and flyouts as well if you aren’t using an embed form.

Hope this helps and thank you again for joining the Klaviyo Community!


Forum|alt.badge.img+2
  • Author
  • Contributor II
  • 3 replies
  • July 23, 2022

Thank you very much.