Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards
SOLVED

Time Difference between two events in CJA

Avatar

Level 1

Hi,

I would like to determine the duration between a user viewing the product section and subsequently clicking on the product card, assuming that both the product section viewed event and the product card click event are being captured. The objective is to calculate the time difference between these two events. Could someone kindly advise on how this can be accomplished within CJA?

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

Hi @RajalakshmiMathiazhagan ,

since it's two different events you are talking about, I don't think you can do this with a derived field.
This sounds more like a tag management task to start a timer when the product section is viewed and stop the timer and send the difference together with the product card click event.

Cheers from Switzerland!


View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor and Adobe Champion

Hi @RajalakshmiMathiazhagan ,

since it's two different events you are talking about, I don't think you can do this with a derived field.
This sounds more like a tag management task to start a timer when the product section is viewed and stop the timer and send the difference together with the product card click event.

Cheers from Switzerland!


Avatar

Level 1

Thanks for the suggestion, @bjoern__koth! Will try it out.

Avatar

Level 3

Hi @RajalakshmiMathiazhagan,

 

Have you checked this out? I admit I am not an expert about it, but it might be helpful. 

https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/plugins/gettimebetweenevent...

 

Best regards

Filipe

 

Avatar

Level 1

This approach works for Adobe Analytics but not for CJA. Thanks for pitching in though!