Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.

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

Avatar

Level 2

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Community Advisor

@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.

Avatar

Level 2

Hi @evolytics_brian, thank you, it's the second, so, do I need to to set this cleaning into the rule?

Avatar

Community Advisor
@DMaya - Yes. In your rule, add an action at after sending the beacon that uses the Adobe Analytics extension's "Clear Variables" option.