Question

Prevent query duplicate events

  • 4 July 2023
  • 2 replies
  • 233 views

Hi 

I have some events got triggered multiple times from our FE apps such as payment events. 


Here are two events (Payed Contract) for the same product. How to prevent querying the same duplicate events? AKA, I just need to query one event not two.


2 replies

Userlevel 7
Badge +10

Hi @m.ali 

Is this multiple trigger the usual behavior or a potential instrumentation bug?

You can try to use the historical count feature during querying. Just to clarify, the usage of this filter is relative to the time interval of your chart and not the absolute count.

Hope this helps.

This is multiple trigger. Most probable an issue from our FE apps. Currently, there is a transaction the buyer should pay for it. After successful payment, we trigger the event called (Payed Contract) but sometimes the event got triggered multiple times as in the screenshot. If you notice in the event properties, we have unique id for the transaction which is called (contractId). So my question is how to query the event (Payed Contract) and to be unique according to the (contractId)

Reply