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

Time between Values being set in a variable

Avatar

Avatar
Boost 1
Level 1
MKEmark
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
MKEmark
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
MKEmark
Level 1

27-10-2017

How can I track how much time (in seconds) elapses between two events? I would like to look at the time between two different values being set in a variable (separate server call).  We are looking to do something similar to the TimeToComplete Plug-in described here:

https://blogs.adobe.com/digitalmarketing/analytics/plug-ins-inside-omniture-sitecatalyst/

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

02-11-2017

Your best bet here is going to be using a cookie. Set a cookie with the timestamp when the first event is set, then when the second event fires, call the cookie and set a variable value based on the elapsed time.

  • If you plan to use this as a dimension, you can either use the value in seconds, or use additional logic to put them in buckets.
  • If you plan to use this as a metric, you can increment an event by the number of seconds that have elapsed. Recent appMeasurement libraries allow the format s.events="event1=10".

Answers (0)