Tracker Settings
Get tracker settings of an app by it's url
Changed onIt gets tracker settings of an app that first matched against given url. Used mostly in log analytics for website autorecognition.
get/api/tracker/v2/settings/app/url
Request
- Base URLhttps://example.piwik.pro
- AuthOAuth 2Client credentialsToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
app_urlstring required
App URL. The URL must meet the requirements of RFC-3986
Response
OK
Example response
{
"data": {
"id": "6edb1e3c-4c43-4760-ab76-682ad83146be",
"attributes": {
"anonymize_visitor_geolocation_level": "Region",
"anonymize_visitor_ip_level": 1,
"campaign_content_params": [
"pk_content"
],
"campaign_id_params": [
"pk_cid"
],
"campaign_keyword_params": [
"pk_medium"
],
"campaign_medium_params": [
"pk_medium"
],
"campaign_name_params": [
"pk_campaign"
],
"campaign_source_params": [
"pk_source"
],
"exclude_crawlers": true,
"excluded_ips": [
"192.168.0.0",
"172.16.0.0",
"1.2.*.*"
],
"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"
],
"fingerprint_based_on_anonymized_ip": true,
"keep_url_fragment": true,
"session_limit_exceeded_action": "split_and_exclude",
"session_max_duration_seconds": 21600,
"session_max_event_count": 1000,
"site_search_category_params": [
"category",
"cat",
"c"
],
"site_search_query_params": [
"s",
"search"
],
"use_session_hash": true,
"use_anonymous_session_hash": true,
"url_query_parameter_to_exclude_from_url": [
"pl_medium",
"pk_source",
"fb_comment_id",
"/^sess.*|.*[dD]ate$/"
],
"urls": [
"http://example.com/",
"http://example.com/app",
"deep-links://supported.com/"
]
}
}
}Changes
- info
endpoint added
- info