How to run JS after captcha verification is done ?

How to run JS after captcha verification is done ?

seymur_crsp
Shopify Partner
67 4 10

So I have a contact form and whenever someone submits that form, I'm tracking that action with Klaviyo.
The code to track the action is attached to the form submit event, so submission gets tracked even if Shopify shows a captcha after submit event (which means Shopify does not accept that form until captcha verification is successful). That's why I only want to track the action after captcha verification is successfully completed.

Replies 0 (0)