Tracker Settings
Edit global, tracker related settings of apps
Changed onDeprecated. Instead use: PATCH /api/tracker/v2/settings/app/global
patch/api/tracker/v1/settings/app/global
Request
- Base URLhttps://example.piwik.pro
- AuthOAuth 2Client credentialsToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"attributes": {
"anonymize_visitor_ip_level": 2,
"excluded_ips": [
"192.168.0.0",
"172.16.0.0",
"1.2.*.*"
],
"excluded_url_params": [
"pl_medium",
"pk_source",
"fb_comment_id",
"/^sess.*|.*[dD]ate$/"
],
"excluded_user_agents": [
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0",
"Opera/9.80 (Windows NT 6.2; Win64; x64) Presto/2.12 Version/12.16"
]
}
}
}Response
No Content
Changes
- info
endpoint deprecated
- info