Userpoint Analytics
Operations related to UserPoint Analytics, the programmatic access to user activity data through data cube APIs for reporting and analysis:
Metrics - Active users, sessions, conversions, revenue, avg session duration, conversion rate
Dimensions - Date (daily/hourly), channel_id, campaign, activity type, referrer
Report types - Activities analytics, usage reports, collection volumes, event ingestion monitoring
Capabilities - Date ranges, filter clauses, metric aggregations, dimension grouping
Results leverage the multi-model database with ~1 second response time for the latest 4 months of data.
Relevant documentation:
00Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datamarts/{datamart_id}/user_activities_funnel HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 373
{
"for": [
{
"group_by_dimension": "text",
"max_days_after_previous_step": 0,
"group_by_dimensions": [
"text"
],
"name": "text",
"filter_clause": {
"operator": "OR",
"filters": [
{
"dimension_name": "text",
"case_sensitive": false,
"expressions": [
"text"
],
"operator": "EXACT",
"not": false
}
]
}
}
],
"number_of_parts_to_split_on": 0,
"limit": 0,
"in": {
"type": "WINDOW",
"offset": 0,
"unit": "DAY"
},
"group_by": "text"
}{
"status": "ok",
"data": {
"global": {
"total": 0,
"steps": [
{
"count": 0,
"amount": 0,
"name": "text",
"interaction_duration": 0,
"conversion": 0
}
]
},
"grouped_by": [
{
"dimension_names": [
"text"
],
"dimension_values": [
"text"
],
"funnel": {
"total": 0,
"steps": [
{
"count": 0,
"amount": 0,
"name": "text",
"interaction_duration": 0,
"conversion": 0
}
]
},
"dimension_decorator": "text"
}
]
}
}000Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datamarts/{datamart_id}/user_activities_analytics HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 585
{
"dimensions": [
{
"name": "text"
}
],
"sample_factor": 0,
"metrics": [
{
"expression": "text",
"alias": "text",
"formatting_type": "INTEGER"
}
],
"dimension_filter_clauses": {
"operator": "OR",
"filters": [
{
"dimension_name": "text",
"case_sensitive": false,
"expressions": [
"text"
],
"operator": "EXACT",
"not": false
}
]
},
"order_by": {
"field_name": "text",
"sort_order": "ASCENDING"
},
"max_result": 0,
"metric_filter_clauses": {
"operator": "OR",
"filters": [
{
"metric_name": "text",
"not": false,
"operator": "EQUAL",
"comparison_value": "text"
}
]
},
"first_result": 0,
"date_ranges": [
{
"start_date": "text",
"end_date": "text",
"timezone": "text"
}
]
}{
"status": "ok",
"data": {
"report_view": {
"items_per_page": 0,
"total_items": 0,
"columns_headers": [
"text"
],
"rows": [
[
{}
]
]
}
}
}Fetch users activities analytics dimensions
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/user_activities_analytics/dimensions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"dimensions": [
{
"label": "text",
"value": "text"
}
]
}
}Last updated
Was this helpful?