Skip to main content
Contributor I
May 3, 2022
Solved

Custom event tracking with javascript not working with click event

Hi,

Thanks in advance,

I’am unable to track event with click or blur HTML events. for the first time, The scenario is following

  1. Got a form with two fields name and email address.
  2. Added a focus (blur) event in email field .
  3. when a user focus out with an email address suppose first@example.com the tracking will not work
  4. If the user focus out the same email field again (with same email address) I can see tracking is recorded in Klaviyo dashboard.
  5. If the user added another email address second@example.com it will not work again , if again focus out it will work, That means it only work after the second time

Does anyone knows how to fix this?

Impelemented code : https://www.support-tools.com/?8e8f47311020264f#0dDAOYFNtjCQNhvAMsGXNESbjIqpkwP/vLsnRJJIDLM=

 

Regard,

Francis Sebin Fernandez

This topic has been closed for replies.
alex.hong
alex.hongAnswer
Klaviyo Alum
May 4, 2022

Hi there @francissebin2hats,

Thanks for posting to the Community.

I believe my colleague had responded to the question in this thread as well:

 

So I am going to redirect there in case you haven’t seen it yet.

 

Thanks!
Alex

1 reply

alex.hong
alex.hongAnswer
Klaviyo Alum
May 4, 2022

Hi there @francissebin2hats,

Thanks for posting to the Community.

I believe my colleague had responded to the question in this thread as well:

 

So I am going to redirect there in case you haven’t seen it yet.

 

Thanks!
Alex