Only fire event once | Community
Skip to main content
New Participant
Jun 17, 2021 6:54 PM UTC
Solved

Only fire event once

 

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.
yuhuisg
yuhuisgAccepted solution
New Participant
Jun 18, 2021 8:26 AM UTC

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

yuhuisg
yuhuisgAccepted solution
New Participant
Jun 18, 2021 8:26 AM UTC

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.

Translate
Level 7
Jun 18, 2021 4:06 AM UTC

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

Translate