Adding a Klaviyo Pop-up to a Hyperlink
How to trigger a Klaviyo pop-up to show based on clicking a link or button
Why Use This Method
Instead of linking directly to a /signup page, you can trigger a Klaviyo pop-up form when visitors click on hyperlinked text in your announcement bar. This creates a smoother experience and allows you to track sign-ups specifically from your Intelligems Personalization separately by using a duplicated version of your pop-up.
This method works best when you want to maintain the visitor on the current page while still capturing their email.
Before You Start
Make sure you have:
An active Klaviyo account connected to Intelligems
An existing Klaviyo sign-up form (popup, flyout, or full page type)
Access to edit your Klaviyo forms
Embedded forms cannot be triggered with a button click. Your form type must be Popup, Flyout, or Full Page.
Step 1: Duplicate Your Klaviyo Sign-Up Form
Duplicating your form allows you to track sign-ups from this personalization separately from your main form.
Log in to Klaviyo
On the left side navigation, under Website, go to Sign-up Forms
Find your main sign-up form
Click the three dots menu and select Clone
Rename the duplicated form to something like "Intelligems - Non-Subscriber Personalization"
Click Continue
Click into the newly duplicated form to edit
Click on the Button within the form and review the List to Submit section
Emails submitted via this form will be added to the List you select in this dropdown

Since you've duplicated another pop-up, the List settings will automatically transfer over. If you want to send these signups to a different list, create a new list or Add a property
We recommend adding a profile property Intelligems with the value [name of your personalization or test] as another tracking mechanism. Learn more about Klaviyo profile properties.
Double-check your Flows to see which of your Live flows are associated with the list selected in the pop-up settings.
Step 2: Configure Pop-Up Form Settings
In the Styles tab of the pop-up, confirm your Form Type is set to Popup, Flyout, or Full Page.
Embed and Banner do not work.
Navigate to the Targeting & Behaviors tab, and then click Display
Under Timing show form, select Only on a custom trigger
Copy your
FORMIDfrom the URL. Example: klaviyo.com/forms/V27UAW
V27UAW = FORMID

Click Publish changes in the top right
Close Klaviyo
This popup only appears when visitors click on the link in a Test or Personalization.
Step 3: Select Your Announcement Bar & Add Klaviyo Snippet
In Intelligems, click into the Modifications tab of your Test or Personalization
Click Add & Edit changes in Visual Editor
Using the onsite editor widget, click on the Make onsite edits icon

Then click Select an element
Click on your announcement bar to identify the selector, and then click Edit HTML/CSS
Add the following code:
Replace these items:
ANNOUNCEMENT BAR SELECTORwith the element you select using the Intelligems onsite editor widgetFORMIDwith your 6 character form id from Klaviyo found in Step 2Welcome! Sign up to get $15 off your orderwith your actual call-to-action text
Click Apply
Click Save on the Intelligems onsite editor widget
Go back to Intelligems
Click Refresh in Intelligems to see the changes
Click Save in Intelligems
Step 5: Add Targeting
In the Targeting tab, click Custom
In the Targeting type dropdown, select Klaviyo Segment
Add your Klaviyo Segments using the Import from Klaviyo button
Click Save
Step 6: Preview Your Setup
Preview the personalization in Intelligems (click Include to see the non-subscriber experience)
Click on the text in your announcement bar
The Klaviyo sign-up form should appear as a popup
If the form doesn't appear, double-check that you replaced FORMID in the HTML with your actual Form ID, and that the form is published in Klaviyo.
Troubleshooting
Form doesn't appear when clicked:
Verify your Form ID is correct (6-character code from Klaviyo URL)
Confirm the form is published in Klaviyo
Check that Timing is set to "Only show on custom trigger"
Last updated