Event for Pincode Check and success

Avatar

Avatar

bindukumari1990

Avatar

bindukumari1990

bindukumari1990

28-01-2021

Hi,

Actually I need to create an event for checking how many Pincode check have been done on website, and how many Pincode success done on the same. In my Usecase, before adding the product in cart, there is Pincode check, to find whether product is delivered or not?

 

Capture2.PNG

something likethis, so can anyone help me how to achieve the same through launch or any reference link for creating like this events.

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

bindukumari1990

Avatar

bindukumari1990

bindukumari1990

29-01-2021

@evolytics_brian 

can you elaborate your reply, yes it is form. But I need to capture how many people entered Pincode and how many pincode success we got it, Right now creating two rules where  setting up the events i.e pincode check and pincode success in set variable action.

 

But, I am not S.tl() call. So, does it sound right?

Avatar

Avatar

evolytics_brian

MVP

Avatar

evolytics_brian

MVP

evolytics_brian
MVP

29-01-2021

@bindukumari1990 

It's hard to give specifics without knowing how the page is built, but at a high level, I would assume there's a form submit event when the customer submits a pincode. When that happens, you could trigger an s.tl() (link tracking) call with the necessary information. (I'd capture the pincode and a success event, at a minimum.) 

When the results come back from the server, I would send another s.tl() call (pincode, success event, and result). This, of course, assumes the customer remains on the same page, and that the information is returned dynamically. How you monitor for the information may vary based on how your page is set up... Are you using an event-driven data layer? Does the information get written to a JS variable or cookie? Can you monitor for changes to the DOM (mutationObserver)?