Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Time Between Events

andrew_r-GrfLbX
Level 7
Level 7

Does anyone know if it's possible to create a calculated metric or something that calculates the average time taken between two events?

Thanks!

1 Accepted Solution
PratheepArunRaj
Correct answer by
Moderator
Moderator

Dear Manish,

Kindly follow the post Calculate Time between Success Events .

Thank You

Arun

View solution in original post

7 Replies
AdamGreco
Level 6
Level 6

There is a way to pass the time between success events to an eVar using the TimeToComplete Plug-in described here: https://blogs.adobe.com/digitalmarketing/analytics/plug-ins-inside-omniture-sitecatalyst/

andrew_r-GrfLbX
Level 7
Level 7

Cheers, I saw that but couldn't find the plug-in code or if it was still compatible with the latest version of AppMeasurement.

PratheepArunRaj
Moderator
Moderator

Guess it is not compatible with the latest version of AppMeasurement.

We have used the plugin in Legacy Code it worked but not in AppMeasurement.

manishs40044499
Level 4
Level 4

Did you or anybody found any update or solution to this query?

PratheepArunRaj
Moderator
Moderator

Dear Manish,

You cannot create a calculated metric to find the time / average time between two events.

You should do it through Implementation.

Thank You

Arun

manishs40044499
Level 4
Level 4

Hi Arun,

Thanks for the reply!

Could you please share some more details on this?

I have seen your comments on post # Average time between 2 suces events. But I am unable to get any data on the implementation of s.gettimetocomplete plugin.
1.  Is this plugin no longer support into appmeasurement.js 2. What is TTC into s.eVar15= s.getTimeToComplete(s.eVar15, "TTC", 0);

PratheepArunRaj
Correct answer by
Moderator
Moderator

Dear Manish,

Kindly follow the post Calculate Time between Success Events .

Thank You

Arun

View solution in original post