How can I change the success message for a legacy embed form?

  • 18 May 2022
  • 1 reply


Hello everyone. I have custom embed form  in Shopify and I use <div class="klaviyo-form-FORMID"></div> to render this form on my Shopify page.

I need to change confirmation message. I tryd how it worked prevyusly for old legacy forms: 

<script type="text/javascript" src="//"></script>

<script type="text/javascript">

    KlaviyoSubscribe.attachToForms('#k_id_embedded_subscription_form', {

      hide_form_on_success: true,

      custom_success_message: true,

      success_message: "Thank you for inqury!"



The success message wasn’t changed. How it can be done in the new version of embed forms? Thanks 


Best answer by Taylor Tarpley 18 May 2022, 18:23

View original

1 reply

Userlevel 6
Badge +47

Hi there @Rudy


Welcome to the Community!


Unfortunately, neither our support team nor the Community can troubleshoot custom forms, however, we do have some documentation on how to create and customize legacy embed forms. There is a section that details how to create a custom success message and the code in the documentation looks like what I pulled below. I would make sure to comb through the comb with a fine tooth comb to make sure there’s no additional or missing spaces to would render it unsuccessful.

<script type="text/javascript">
KlaviyoSubscribe.attachToForms('#email_signup', {
hide_form_on_success: true,
success_message: "Thank you for signing up! Your special offer is on its way!"


Additionally, I’d suggest checking out this similar conversation to gain more insight!


Thanks for participating in the Community!