Overview
Surge integrates seamlessly with Klaviyo’s Shopify app embeds, allowing you to add popups, flyouts, and embedded signup forms across your store — without editing theme code.
Using the App Embed method ensures:
Faster setup
No custom code required
Safe theme updates
Better performance and compatibility with Surge
This is the recommended approach for connecting Klaviyo forms to your Surge store.
Before you begin
Make sure you have:
A Shopify store using the Surge theme
A Klaviyo account
The Klaviyo Shopify app installed
Step 1: Install the Klaviyo app
From Shopify Admin, go to Apps → Shopify App Store
Search for Klaviyo: Email Marketing & SMS
Install and connect your Klaviyo account
Step 2: Enable the Klaviyo App Embed in Surge
Go to Online Store → Themes
Click Customize on Surge
Open App embeds (puzzle icon in the left sidebar)
Toggle Klaviyo Forms / Klaviyo Onsite / Klaviyo App Embed → ON
Click Save
This allows Klaviyo to automatically load forms across your storefront.
Step 3: Create your form in Klaviyo
Open Klaviyo Dashboard
Navigate to Signup Forms → Create form
Choose your format:
Popup
Flyout
Embedded
Design your form
Configure targeting (all pages, homepage only, exit intent, etc.)
Click Publish
Your form will now appear based on your targeting rules.
Adding Embedded Forms Inside Pages or Sections (Optional)
If you'd like a form to appear directly inside a page (for example, in the footer or a landing page):
In Klaviyo
Create an Embedded form
Copy the embed code
In Surge
Open the Theme Editor
Add a Custom Liquid block or section
Paste the embed code
Save
Best Practices
Use App Embeds whenever possible (no theme file edits needed)
Manage targeting and display rules directly in Klaviyo
Avoid duplicating forms across multiple sections
Keep forms lightweight for optimal performance
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article