Skip to main content
Question

Custom Trigger (openForm) Not Showing Popup Even Though Onsite Script Is Loaded

  • December 2, 2025
  • 3 replies
  • 21 views

Forum|alt.badge.img

Hi everyone — hoping someone from Klaviyo engineering or community can help.
I’m trying to trigger a popup form via the custom JavaScript trigger:

 

window._klOnsite.push(['openForm', 'TnP475']);

Here’s the problem:

The onsite script loads correctly, _klOnsite exists, the push call runs with no errors… but the popup never appears.

I have tested:

What’s working

  • klaviyo.js?company_id=WhZZJ7 loads on the page

  • window._klOnsite is defined

  • Calling openForm in the browser console returns undefined (normal) but no form displays

  • Form is Live

  • Display timing is set to “Only show on a custom trigger”

  • Display step is correctly set to the Email Opt-In step

  • Teaser step is disabled

  • Form works inside Klaviyo preview

  • The site is published (not in preview)

  • Event listener in Wix Velo triggers correctly (verified via console logs)

  • No JS errors from Klaviyo in console

Targeting

Since “custom trigger only” hides the Targeting tab, I temporarily disabled it, added URL rules, saved, and re-enabled custom trigger.
Still no popup.

Testing directly

Even when I run the trigger manually on the live site:

 

window._klOnsite.openForm(['TnP475']);

I get no errors, but no popup.

Environment

  • Wix site

  • Form ID: TnP475

  • Account: WhZZJ7

What I need help with

It looks like the form is simply not loading/registered by Klaviyo on my domain even though the script itself is active.

Is there something on Klaviyo’s side that could prevent a specific form from being available for openForm?
Is there a way to confirm whether Klaviyo is actually loading the form definition on the page?

Any insight would be massively appreciated. Happy to provide screen recordings or console logs.

Thanks in advance!


 

3 replies

Forum|alt.badge.img+2

I’ve got the same issue, it was working last week but now its not working - Everything you mentioned in your OP is the same for me - its just stopped working - this is across multiple Klaviyo accounts and sites I use.

Any help Klaviyo?


Forum|alt.badge.img+2

I’ve got the same issue, it was working last week but now its not working - Everything you mentioned in your OP is the same for me - its just stopped working - this is across multiple Klaviyo accounts and sites I use.

Any help Klaviyo?

Update from Klaviyo:

We recently began rolling out an update to our onsite form triggering system designed to better support Single Page Applications (SPAs).

For most customers, behavior remains the same. However, customers using custom trigger workarounds for SPA may have experienced changes in how forms trigger.

We have temporarily reversed this release and your original custom triggers should no longer encounter any issues.

We appreciate your patience as we continue improving SPA support. Please let us know if we can answer any additional questions.


--

Unfortunately the release reversal hasn’t rolled out or been activated on our two websites using Klaviyo.

Hey team, can you please escalate Ticket ID: 3757648


Byrne C
Community Manager
Forum|alt.badge.img+28
  • Community Manager
  • February 18, 2026

Hi ​@onlineretailguy and ​@UpCrib Inc.,

Apologies for the disruptions that you experienced in your forms. Our team has now rolled out a fix to this issue that should restore functionality for all customers affected by this issue.

Onlineretailguy, if that ticket is still open, I’d recommend reaching back out on that ticket if you’re still noticing issues, and our team can take a closer look.