Skip to main content
Solved

Custom event tracking with javascript not working with click event

  • May 3, 2022
  • 1 reply
  • 390 views

Forum|alt.badge.img+2

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

Best answer by alex.hong

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

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

alex.hong
Forum|alt.badge.img+58
  • Klaviyo Alum
  • 1552 replies
  • Answer
  • 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