Analytics
Allows to add a tab with Extension analytics data to the Event's analytics page. This feature is enabled by providing corresponding flag in instance handshake response.
Analytics
GET https://example-extension.mic.io/lvis/:lvis_instance_id/projects/:project_id/events/:event_id/analytics_tab
Path Parameters
lvis_instance_id
string
Unique identifier across all M/IC instances, in UUID format.
project_id
string
Project UUID.
event_id
string
Event UUID.
{
"id": "demographics-audience",
"name": "Audience",
"final": false,
"categories": [
{
"name": "Age breakdown",
"items": [
{
"type": "string",
"label": "Age < 18",
"value": "30%"
},
{
"type": "string",
"label": "Age 19 - 55",
"value": "50%"
},
{
"type": "string",
"label": "Age > 56",
"value": "20%"
}
]
},
{
"name": "Gender breakdown",
"items": [
{
"type": "string",
"label": "Male",
"value": "63%"
},
{
"type": "string",
"label": "Female",
"value": "37%"
}
]
}
]
}Example
Response parameters
categories define data sections and items define actual data. type defines how the data should be presented. Supported types are:
categories
Data sections.
items
Actual analytics data. type defines how the data should be presented and the only type currently supported is string, which will display data as is.
final
Informs that tab content will not change anymore and can be cached by the platform to be available anytime later without hitting the Extension.

