Analytics setting Resources

Get Analytics settings

GET /settings/analytics

Response

{
    "mixpanel_analytics_token": "very-secret-token",
    "tracking_enabled": true
}


Update Analytics settings

PUT /settings/analytics

Note: If a parameter is omitted in the request, the setting is ignored and its value remains unchanged. If a parameter is set to null, the default behaviour for this setting applies.

Parameter Type Default Description
tracking_enabled boolean true Enables/disables tracking through Mixpanel

Response

{
    "mixpanel_analytics_token": "very-secret-token",
    "tracking_enabled": true
}