How to avoid same events fire in each click inside the same page.

Avatar

Avatar

DMaya

Avatar

DMaya

DMaya

12-03-2021

Hi there! 

I created an event in Launch to track a button, it works but happens that all clicks after the new event is fired, also fire the same event, is there a way to avoid the event fires when we click in other link, button, etc.?

 

I´m new using Launch, hope someone can help.

Thank you

button events launch tracking

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

evolytics_brian

MVP

Avatar

evolytics_brian

MVP

evolytics_brian
MVP

12-03-2021

@DMaya - Are you saying the same call fires again, or that subsequent calls on the page include the success event that should only be associated with the button click?

If it's the former, your selector is probably too broad and needs to be updated. If it's the latter, make sure you're clearing the s.events value after the click event/rule fires so it doesn't persist to subsequent calls.