Only fire event once | Community
Skip to main content
June 17, 2021
Solved

Only fire event once

  • June 17, 2021
  • 2 replies
  • 1377 views

 

Hey!

 

I have a group of 3 tags (DR_CREDIT_TIER_CHANGED, DR_PAYMENT_TERM_CHANGED, DR_DOWN_PAYMENT_CHANGED). The first time that one of those tags is fired in a session, I want the event to be event2. Any time that any of those tags are fired after the first time, I want the event field to be empty (see screenshot). Is this possible in Adobe Launch?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by yuhuisg

Since you're sending Custom Links, you can also remove the unneeded events from s.linkTrackEvents. So your s.events string can stay as-is, but your s.linkTrackEvents contains only those events that you really want to track with your Custom Links.

2 replies

Level 7
June 18, 2021

@nhunt3 For implementing this you can try by creating 2 rules which will run on click of that link and in one those rule you can apply condition by using Custom Code editor that if link name is 'DR_CREDIT_TIER_CHANGED' Then in Set Variables you can pass event2. Similarly in another rule you can apply same condition if link name is 'DR_PAYMENT_TERM_CHANGED' OR 'DR_DOWN_PAYMENT_CHANGED' than you need not pass the event2 in event list.

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
June 18, 2021

Since you're sending Custom Links, you can also remove the unneeded events from s.linkTrackEvents. So your s.events string can stay as-is, but your s.linkTrackEvents contains only those events that you really want to track with your Custom Links.