TrackConstants.ets 4.86 KB
export namespace TrackConstants {

  export enum EventType {
    Show = 0,
    Click = 1
  }

  // 行为类型
  export enum ActionType {
    Show = "show",     // 曝光/展示
    DetailPageShow = "detailPageShow",
    Collect = "collect",
    CollectTag = "collectTag",
    UnCollect = "uncollect",
    Follow = "follow",
    UnFollow = "unfollow",
    Like = "like",
    DisLike = "dislike",
    Share = "share",
    Comment = "comment",
    Browse = "browse",
    Download = "download",
    Subscribe = "subscribe",
    UnSubscribe = "unSubscribe",
    CloseInterestCard = "closeInterestCard",
    SelectInterestCard = "selectInterestCard",

  }

  // 分享聚道
  export enum ShareChannelType {
    Poster = "poster",
    Wechat = "wechat",
    Moments = "moments",
    Sina = "sinaweibo",
    Dingtalk = "dingTalk",
    QQ = "qq",
    Qzone = "qzone",
    CopyLink = "copyLink",

  }

  // 专题类型
  export enum SummaryType {
    Live = "liveTopic",
    Article = "articleTopic",
    Audio = "audioTopic",
    Talk = "talkTopic",
    MorningAndEveningNews = "morningAndEveningNewsTopic",
    TimeAxis = "timeAxisTopic"
  }

  // 直播类别
  export enum LiveType {
    Subscribe = "liveSubscribe",
    Running = "livePlaying",
    End = "liveEnd"
  }

  // 所属区域
  export enum RegionName{
    KaiPing = "0",
    GuaJiao = "1",
    Feed = "2",
    CaiDan = "3",
  }

  // 页面名称或页面id。这里是不包含运营配置页面的pageid的
  export enum PageName {
    DynamicDetail = "dynamicDetailPage",
    VideoDetail = "videoDetailPage",
    Live_Detail = "liveDetailPage",
    /// 音频详情页
    Audio_Detail = "audioDetailPage",
    /// 音频正文页
    Audio_Detail_Text = "audioTextPage",

    /// 图文详情页
    Article_Detail = "articleDetailPage",
    /// 图集详情页
    Atlas_Detail = "atlasDetailPage",

    ///电子报页面
    Eletronic_Paper = "newsPaperPage",

    /// 金刚位详情
    KeyPosition = "diamondDetailPage",

    /// 问政详情页
    Ask_Detail = "questionAnswerPage",
    /// 专题详情页
    Summary_Detail = "summaryDetailPage",
    /// 搜索页
    Search = "searchPage",
    /// 我的
    My = "myPage",

    /// 设置页
    Setting = "settingPage",
    /// 账号管理
    Account_Management = "accountManagementPage",
    /// 注销账户
    Cancel_Account = "cancelAccountPage",

    /// 隐私设置
    Privacy_Setting = "privacySettingPage",
    /// 意见反馈
    Feedback = "feedbackPage",
    /// 关于
    About = "aboutPage",

    /// 编辑资料
    Edit_Information = "editInformationPage",
    /// 登录页
    Login_Page = "loginPage",
    /// 手机号登录
    Phone_Login_Page = "phoneNumberLoginPage",
    /// 我的评论
    My_Comment = "myCommentPage",
    ///草稿箱
    My_DraftBox = "draftBoxPage",

    /// 我的关注
    My_Follow = "myFollowPage",
    /// 我的收藏
    My_Collect = "myCollectPage",
    /// 浏览历史
    My_History = "myHistoryPage",

    /// 消息
    My_Notification = "myNotificationPage",

    /// 我的预约
    My_Saved_Live = "mySavedLivePage",

    /// 兴趣选择
    Preference_Selection = "preferenceSelectionPage",
    /// 升级页面
    Update = "updatePage",
    /// 开屏广告页
    Open_Screen = "openScreenPage",

    /// 新手引导页
    Guide = "guidePage",
    /// 启动页
    Launch = "launchPage",

    /// 个人主页(主态)
    Main_Personal = "mainPersonalPage",
    /// 个人主页(客态)
    Customer_Personal = "customerPersonalPage",

    /// 个人资料页
    Personal_Data = "personalDataPage",
    /// H5下载页面
    H5download = "H5DownloadPage",

    /// 找回密码
    Retrieve_Password = "retrievePasswordPage",
    /// 重置密码
    Reset_Password = "resetPasswordPage",

    /// 一键登录
    OneClick_Login = "oneClickLoginPage",
    /// 二维码扫描
    QR_Scan = "QRCodeLoginPage",
    /// 绑定手机号
    Bind_PhoneNum = "bindPhoneNumberPage",

    /// 验证当前手机号
    Checking_PhoneNum = "checkingPhoneNumberPage",

    /// 更改手机号
    Change_PhoneNum = "changePhoneNumberPage",

    /// 设置密码
    Setup_Passwd = "setPasswordPage",

    /// 修改密码
    Change_Passwd = "changePasswordPage",

    /// 第三方账号绑定手机号
    Third_Part_Account_Bind_PhoneNum = "bindingThirdNumberPage",

    /// 实名认证
    RealName_Authentication = "realNameAuthenticationPage",

    /// 发布文章
    Publish_Article = "publishArticlePage",

    /// 发布视频
    Publish_Video = "publishVideoPage",

    /// 发布动态
    Publish_Dynamic = "publishDynamicPage",

    /// 发布图集
    Publish_Atlas = "publishAtlasPage",

    /// 举报评论
    Report_Comment = "reportCommentsPage",

    /// 优质评论
    Best_Comment = "bestCommentsPage",

    /// 举报内容
    Report_Content = "reportContentPage",

    ///兴趣偏好页
    Interest = "preferenceSelectionPage",
  }
}