Web SDK Adobe Data Collection - how to clear success event | Community
Skip to main content
Level 4
Sep 25, 2025 6:26 PM UTC
Question

Web SDK Adobe Data Collection - how to clear success event

I created two Rules in Data Collection. One first one fires when a video starts playing (Video Start). This is event 50. The second one fires when the video finishes playing (Video Finished). This is event 54.

When testing, I noticed in the interact call for Video Finished/event 54, both event 50 and event 54 have a value of 1.

 

 

In the Video Finished rule, in the Web SDK Update Variable action, I only put a "1" on event 54. I left event 50 blank. I did not check the Clear existing value checkbox although I did try checking it and it didn't make a difference.

 

 

I'm concerned about the data/reporting for this event. Why does event 50 have a value (1) even though I didn't enter this value in the update variable action, and how can I remove it?

7 replies

Jacinda_E
Employee
Sep 29, 2025 2:52 PM UTC

Hi @m_alcantara - looks like you got some great answers here! Did any of these help you get this sorted out? If so, don't forget to select a correct reply to mark the thread as resolved and help search ability for anyone else with a similar issue in the future 😊

Translate
EurosIMS
Level 3
Sep 29, 2025 10:17 AM UTC

Hi @m_alcantara, 

You've already got some good answers here, but to answer the above. The reason checking that box doesn't clear it is because you are clearing an existing value for event54, which of course is not there. If you'd set event54 on a previous hit, then it would be cleared.

 

What I think you can also do, althought it's a while since I've done it, is select event50, set it to 0, and select the 'Clear existing value' checkbox. I think that used to work for me. 

Translate
bjoern__koth
New Participant
Sep 27, 2025 4:36 PM UTC

What I typically do is have a rule that listens to any type of data layer push and in there you reset your XDM element. Just make sure the order is set to 1.

 

As simple as that.

Translate
Cheers from Switzerland!
Elanchezhiyan_E
Level 2
Sep 26, 2025 8:11 AM UTC

Hi @m_alcantara,

For Adobe Analytics, we used to clear variables after the beacon was sent. Similarly, you need to follow the same. 

I hope you are using XDM Variable not the XDM object, if you are using XDM Object you won't be able to update the variable values within Rules.

For example, you created a rule for video starts. In the same rule you would typically create an update variable and send event actions. After these two actions, you need to add one action using update variable action and configure it as shown 

 

Add another action > Click on the xdm > enable the Clear Existing value.

Once you complete this, you will not see the event50 in the Video finished Event.

I hope it will help, let me know if you need further assistance on this.

 

Good Luck.

Translate
Elanchezhiyan_E
Level 2
Sep 26, 2025 9:58 AM UTC

I think the above attached screenshot is not clear, refer to the below screenshot for clear one

Translate
Jennifer_Dungan
Level 2
Sep 26, 2025 2:25 AM UTC

I've seen other people have this issue on AppMeasurement implementations before... I think it definitely is a result of the objects not being cleared between uses... I agree that the "clear existing value" should fix the issue.. I am not on WebSDK, so I don't have a scenario to test with (also, in my implementation, I manually set my events with code, I don't use the Set Variables interface so I have full control over what events are being sent - and not worry about values carried forward)

 

I am curious, after adding the clear existing values, how long did you wait / how many times did you try the code? I've noticed that sometimes there is a slight latency in builds... sometimes I have to try things again a few minutes later for the changes to take effect. So it  might be that... 

 

Also, I don't know if it will work, but crazy thought... can you pass 0 to the event that is incorrectly being included on the tracking call? To force it to not count?

Translate
bjoern__koth
New Participant
Sep 25, 2025 8:00 PM UTC

Hi @m_alcantara 

what types of data element are you using? A Web SDK variable or XDM object?

Translate
Cheers from Switzerland!