TrackScreenView

fun TrackScreenView(name: String, properties: JsonObject = EmptyJsonObject)

Records a Screen Viewed event once when name enters the composition (and again whenever name changes). A previous_screen property is attached automatically when a previous screen is known.