Documentation
¶
Index ¶
- type ActiveUserData
- type ActiveUserDataResult
- type DateCountInfo
- type EventData
- type EventKeyPV
- type EventKeyUV
- type EventUniqueUser
- type NewUserData
- type NewUserDataResult
- type Uapp
- func (uapp *Uapp) GetActiveUserData(startDate, endDate string) (*ActiveUserDataResult, error)
- func (uapp *Uapp) GetEventKeyPV(eventName, startDate, endDate string) (*EventKeyPV, error)
- func (uapp *Uapp) GetEventKeyUV(eventName, startDate, endDate string) (*EventKeyUV, error)
- func (uapp *Uapp) GetNewUserData(startDate, endDate string) (*NewUserDataResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveUserData ¶
type ActiveUserData struct {
// 日期
Date string `json:"date"`
// 活跃用户
ActiveUser int64 `json:"activeUser"`
// 活跃账号
ActiveAccount int64 `json:"activeAccount"`
}
活跃数据
type ActiveUserDataResult ¶
type ActiveUserDataResult struct {
ActiveAccountInfo []*ActiveUserData `json:"activeAccountInfo"`
}
type DateCountInfo ¶
DateCountInfo 获取事件统计数据,获取事件参数值统计数据的数据展示
type EventKeyUV ¶
type EventKeyUV struct {
EventUniqueUsers []*EventUniqueUser `json:"uniqueUsers"`
}
{
"uniqueUsers":[
{
"data":"1234,5678",
"dates":""
}
]
}
事件独立用户数
type EventUniqueUser ¶
type NewUserData ¶
type NewUserData struct {
// 日期
Date string `json:"date"`
// 新增用户
NewUser int64 `json:"newUser"`
// 新增账号
NewAccount int64 `json:"newAccount"`
// 小时新增用户(按小时查询时)
HourNewUser []int64 `json:"hourNewUser"`
// 小时新增账号(按小时查询时)
HourNewAccount []int64 `json:"hourNewAccount"`
}
新增数据
type NewUserDataResult ¶
type NewUserDataResult struct {
NewAccountInfo []*NewUserData `json:"newAccountInfo"`
}
type Uapp ¶
type Uapp struct {
// ApiKey
ApiKey string
// ApiSecurity
ApiSecurity string
// GateWay
GateWay string
// AppKey
AppKey string
// Debug 调试标识
Debug bool
}
Uapp
func (*Uapp) GetActiveUserData ¶
func (uapp *Uapp) GetActiveUserData(startDate, endDate string) (*ActiveUserDataResult, error)
GetNewUserData 获取活跃数据
func (*Uapp) GetEventKeyPV ¶
func (uapp *Uapp) GetEventKeyPV(eventName, startDate, endDate string) (*EventKeyPV, error)
GetEventKeyPV 获取自定义事件PV
func (*Uapp) GetEventKeyUV ¶
func (uapp *Uapp) GetEventKeyUV(eventName, startDate, endDate string) (*EventKeyUV, error)
GetEventKeyUV 获取自定义事件UV
func (*Uapp) GetNewUserData ¶
func (uapp *Uapp) GetNewUserData(startDate, endDate string) (*NewUserDataResult, error)
GetNewUserData 获取新增数据
Click to show internal directories.
Click to hide internal directories.