The construction accounting for an mm_paths object: how many events went
in, how many journeys came out, and how many conversions were lost to
filtering along the way.
Arguments
- paths
An
mm_pathsobject frombuild_paths().
Value
A one-row data frame with the columns
events_in,events_outRows supplied, and rows retained.
journeys,converting_journeysJourneys built, and how many ended in a conversion that can still be credited.
mean_length,median_length,max_lengthJourney length in touchpoints.
direct_eventsEvents whose channel matched
direct_labels.conversion_eventsConversion events in the input. This exceeds
conversions_observedwhen several conversions fall inside one journey, which happens undersplit_on = "none"or"gap".conversions_observedJourneys that contained a conversion.
conversions_unattributableConverting journeys that lost every touchpoint to a direct-traffic rule or to
conversion_touch = "drop", and so cannot be credited to any channel. That number should be reported, not absorbed.journeys_before_filteringJourneys found before post-conversion touches, direct traffic, conversion events under
conversion_touch = "drop", the lookback and null paths were removed.duplicate_eventsExact duplicate events dropped before journeys were built (see the
dedupeargument ofbuild_paths()).direct_eventsandconversion_eventscount what remained.
On a subset of a journey table the construction counts no longer apply, and
the columns describing the input are NA rather than the parent's values.
Examples
data(mm_events)
paths <- build_paths(mm_events, id = "customer_id", channel = "channel",
timestamp = "timestamp", conversion = "conversion")
path_summary(paths)
#> events_in events_out journeys converting_journeys mean_length median_length
#> 1 20799 17282 6105 2741 2.830794 3
#> max_length direct_events conversion_events conversions_observed
#> 1 9 1597 2741 2741
#> conversions_unattributable journeys_before_filtering duplicate_events
#> 1 0 6105 117