Skip to main content
Contributor II
July 17, 2022
Solved

Form parameters $method_id and $method_type

  • July 17, 2022
  • 2 replies
  • 98 views

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

    This topic has been closed for replies.
    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
    Klaviyo Alum
    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!

    -Stephen
    PiotrAuthor
    Contributor II
    July 23, 2022

    Thank you very much.