站点活动 - Attribuly SS
Schema
typestring必需事件
attributesobject必需子字段
timestring必需Event Date
valueinteger必需Value
value_currencystring必需Currency
unique_idstring必需Event unique id
propertiesobject必需子字段
$extraobject必需子字段
Browserstring必需Browser
OSstring必需Browser Os
_ipstring必需Ip
URLstring必需Event url
metricobject必需子字段
dataobject必需子字段
typestring必需metric
attributesobject必需子字段
namestring必需Event name
servicestring必需api
profileobject必需子字段
dataobject必需子字段
typestring必需profile
attributesobject必需子字段
emailstring必需phone_numberstring必需Phone
first_namestring必需First name
last_namestring必需Last name
locationobject必需Location
子字段
address1string必需Address
address2string必需citystring必需City
countrystring必需Country
regionstring必需Region
zipstring必需Zip
结构示例
JSON
{
"type": "string",
"attributes": {
"time": "string",
"value": 0,
"value_currency": "string",
"unique_id": "string",
"properties": {
"$extra": {
"Browser": "string",
"OS": "string"
},
"_ip": "string",
"URL": "string"
},
"metric": {
"data": {
"type": "string",
"attributes": {
"name": "string",
"service": "string"
}
}
},
"profile": {
"data": {
"type": "string",
"attributes": {
"email": "string",
"phone_number": "string",
"first_name": "string",
"last_name": "string",
"location": {
"address1": "string",
"address2": "string",
"city": "string",
"country": "string",
"region": "string",
"zip": "string"
}
}
}
}
}
}