LifeCycle with Context Data?
I am having a question due to lifecyle metrics.
When reading this documentation: Implement LifeCycle Metrics
It seems like we need to inlcude this code to every hit, right? Plus if we need more infos we are able to use context data within the lifecycle code.
My question now: is there a good reason for using context data in life cycle metrics.
Plus am I able to include pages in there (standard dimension). Would the value in the life cycle been only triggered when a launchevent gets triggered or on every hit where we can adjust the value?
an launch event only occures when a user comes the very first time or when 5 min inactivity occured, right?
For example: user A --> launch --> crash -->page b
My goal is to get the information of page b into the launch and crash event
So whne launch 1 occures = page b
when crash = page b
does a launch alwys insists a launch? plus what if I use backdate session to which order would the crash in my example go to?
is there anyone who can explain it to me?