Skip to main content
Creates a Google Analytics 4 custom metric from a numeric event parameter with its measurement unit, updates its display name, description or restricted data types, or archives it. Custom metrics cannot be deleted, only archived.

Inputs

SelectableOption

Output

Type: Dict Returns the saved custom metric: id, parameter name, display name, measurement unit and restricted types. Fields: property_id, status, custom_metric_id, parameter_name, display_name, measurement_unit, restricted_metric_type