trackingId property
String?
get
trackingId
The id Courier uses to attribute a click to this action.
It travels on the action rather than on the message, so a click is recorded against the button the user actually pressed. A template that opts out of tracking arrives without one.
Implementation
String? get trackingId {
final value = data is Map ? data['trackingId'] : null;
return value is String && value.isNotEmpty ? value : null;
}