v4
latestOpenAPI 3.0.02026-08-04109113304.5 KBEvents
Update an In-Page Event
Update an Event that occurs in the context of a Page, such as measuring clicks
patch/pages/{page_id}/events/{event_id}
Path parameters
page_idinteger required
The Page ID of the In-Page Event you want to change
event_idinteger required
The In-Page Event ID of the In-Page Event you want to change
Request body
Example request
{
"config": {
"selector": ".menu-options"
},
"key": "add_to_cart",
"name": "Add to Cart"
}Response
Successfully updated the In-Page event
Example response
{
"config": {
"selector": ".menu-options"
},
"experiment_count": 3,
"key": "add_to_cart",
"name": "Add to Cart",
"project_id": 1000
}