Rename Events
Renames event names according to a mapping dictionary.
Usage
es.rename_events({
"btn_click": "button_click",
"pg_view": "page_view",
})Parameters
| Parameter | Type | Description |
|---|---|---|
mapping | dict[str, str] | Dict mapping old event names to new names. Raises an error if a source event name does not exist. |