journey_dimension

Function journey_dimension 

Source
pub fn journey_dimension(journey: &Journey) -> Result<(String, String), String>
Expand description

Build the custom-dimension entry that carries a journey on an AccessRecord into the raw table’s JSON object column. The key is _journey (the leading underscore avoids collisions with operator-declared dimensions). Returns the (key, value) pair to push onto AccessRecord::custom.