Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • Using the API via the Webtrekk server server 
    GET
    https://r.mateti.net/segments/v1/1234567891234/23232323/?customerId=04ee2ab263eeb5f0ca1139d7110f


  • Using the API with your own tracking domain
    GET https:// {{OWN_TRACKING_DOMAIN}} /segments/v1/1234567891234/23232323?customerId=04ee2ab263eeb5f0ca1139d7110f


Headers

content-type: application/json


Response Syntax

Panel
borderColor#dcdcdc
{ 
    "user": <everID>, 
    "segments": {  
"<segment name>" : <true|false>
"<segment name>" : <true|false>
    },  
"categories": [
       { 
         "id": <urm category id> 
         "title": "<urm category title>" 
         "value": "<urm category value>" 
       }, 
       {  
"id": <urm category id>
        "title": "<urm category title>" 
        "value": "<urm category value>" 
       } 
   ] 
} 


Example Response
Panel
borderColor#dcdcdc
{     
"everId": "87235498273549765",
"segments": {
"men" : true,
"high frequency buyer" : false
},
"categories": [
{
"id": 1
"title": "URM Custom Profile Macro Status"
"value": "6"
},
{
"id": 2
"title": "URM RFM Status"
"value": "322"
},
     {  
"id": 3
"title": "URM Predicted conversion probability %"
"value": ""
}
            
]
}


UI Text Box
typenote

Please note that some of the URM values are returned as numerical values. You can find the corresponding meaning of the numbers in the "Mapping Table for URM Status".