attachLastScreenInfo property

bool attachLastScreenInfo
latefinal

Whether to attach pvId and path to track... calls automatically.

There most actions can be associated with page views by setting a pvId (what is the abbreviation of page view id). If attachLastScreenInfo is true and there is a last page view tracked by trackPageViewWithName (or a method/class that uses it like trackPageView, TraceableClientMixin, TraceableWidget) the last recorded pvId is automatically used unless it is overwritten in that action.

Similarly, most actions can have a path which usually represents the page the action happend on. If attachLastScreenInfo is true and there is a last page view tracked by a method mentioned above, the last recorded path is automatically used unless it is overwritten in that action.

Implementation

late final bool attachLastScreenInfo;