TrackingContent.ets
1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { ParamType } from '../common/PublicParams'
import { TrackConstants } from "../common/TrackConstants"
export class TrackingContent {
/// 内容曝光/内容点击 事件
/// eventType 曝光 / 点击类型
/// pageName 如果是统一业务值 见 TrackConstants
/// pageId
/// extParams 模型转换成字段参数传值 转换方法见 TrackParamConvert
static common(eventType: TrackConstants.EventType, pageId: string, pageName: string, extParams: ParamType) {
}
static commonShare(shareType: number, pageId: string, pageName: string, extParams: ParamType) {
}
static like(like: boolean, pageId: string, pageName: string, extParams: ParamType) {
}
static collect(collect: boolean, pageId: string, pageName: string, extParams: ParamType) {
}
static follow(follow: boolean, followUserId: string, followUserName: string, pageId: string, pageName: string, extParams: ParamType) {
}
static commentClick(pageId: string, pageName: string, extParams: ParamType) {
}
static commentShare(pageId: string, pageName: string, extParams: ParamType) {
}
// 内容下载点击事件 1.图片 2.音频 3.视频
static download(donwloadContentType: number, pageId: string, pageName: string, extParams: ParamType) {
}
}