Skip to main content
原始 Markdown

站点活动 - 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必需

Email

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"
          }
        }
      }
    }
  }
}