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