Remove embedded Klaviyo forms from Shopify sites

Remove embedded Klaviyo form from Shopify footer (all themes)

To remove an embedded Klaviyo form from the footer of your site, follow the steps below. These instructions apply to both Shopify vintage themes and Shopify 2.0 themes.

  1. Navigate to your Shopify admin.
  2. Go to Online Store > Themes.
  3. Click Actions > Edit code.
  4. Open your footer.liquid theme file.
  5. Locate the area in your footer where the form is embedded.
    In the example below, the signup form is embedded above the site's copyright information.
    removeform1.jpg
  6. Delete the form embed code:
    <div class = “klaviyo-form-XYZ”></div>.
  7. Click Save.

Remove embedded Klaviyo form from Shopify non-footer (vintage themes)

To remove an embedded Klaviyo form from your Shopify site (using a vintage theme) that lives anywhere other than your site footer, follow these steps:

  1. Navigate to your Shopify admin.
  2. Go to Online Store > Themes.
  3. Click Customize.
  4. On the left-hand menu bar, select either Custom Content or Custom HTML (whichever appears based on your vintage theme).
  5. Within the section, you should see the form embed code:
    <div class = “klaviyo-form-XYZ”></div>.
  6. Click Remove section.

Remove embedded Klaviyo form from Shopify non-footer (2.0 themes)

To remove an embedded Klaviyo form from your Shopify site (using a 2.0 theme) that lives anywhere other than your site footer, follow these steps:

  1. Navigate to your Shopify admin.
  2. Go to Online Store > Themes.
  3. Click Customize.
  4. Select the section that appears within the left-hand menu bar that says Klaviyo Embedded Form.
    This section should contain the ID of the embedded form.
    removeform2.jpg
  5. Click Remove Section.

Remove embedded Klaviyo form from Shopify password page (all themes)

To remove an embedded Klaviyo form from your site's password page, follow the steps below. These instructions apply to both Shopify vintage themes and Shopify 2.0 themes.

  1. Navigate to your Shopify admin.
  2. Go to Online Store > Themes.
  3. Click Actions > Edit code.
  4. For vintage themes, open your password-content.liquid theme file. For 2.0 themes, open your password.liquid file.
  5. Locate and remove the Klaviyo embedded form code:
    <div class = “klaviyo-form-XYZ”></div>.
    removeform3.jpg
  6. (Optional) If you had commented out the Shopify sign-up form from the page to display the Klaviyo embedded form instead, you will likely want to add the Shopify form back. You can do so by removing the comments that wrap the default Shopify signup form:
    • Remove {% comment %}, which starts the tag.
    • Remove {% endcomment %}, which closes the tag.
  7. Click Save.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful