New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

efe-tracking

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

efe-tracking

javascript tracking system SDK.

unpublished
latest
npmnpm
Version
0.0.40
Version published
Maintainers
2
Created
Source

t-sdk

中文名:影略

:代表暗处的意思,意味着我们的 tracking system 是在后台进行用户行为收集,针对用户来讲是无感的。

:代表策略,方略,在我们收集到用户的数据后,通过分析,便于我们今后产品的方略实施方向。

简介

JavaScript 版本的事件追踪系统,详细内容请见

t-sdk 包含的模块

t-sdk组成结构

整个系统组成结构

整个系统组成结构

技术栈

jsDoc 用于做 API 文档用

rollup 用于打包 js 库

RoadMap

V0.0.1

  • 前端 js 库的封装完成,能够进行正常的 H5 界面的埋点操作,能够传输正确的操作数据给服务器端。

  • 服务器端的消息通知模块,数据接收模块的完成。

  • 收集的数据包括:

    • CurrentUrl 即产生用户行为的 router
    • UserId 用户的 id
    • Actiontype 用户产生的行为
    • errorType 错误类型
    • CurrentTIme 用户行为产生的时间
    • UserAgent 用户代理(后端接口获取,sdk 中无需考虑)
    • DomType 产生用户行为的 dom 节点类型
    • Extinfo 扩展字段,针对不同业务场景的传参
  • 能够收集到系统中的接口级错误,如 404,403,500 等,并把消息发送到后端服务器。

  • 能够创建 sdk 使用者的身份。

V0.0.2

  • 前后端统一数据序列化系统(例如 Avro),实现前后端能够用一套数据模型进行数据处理,提高扩展性和第三方系统的适配性。
  • 服务器端的队列模块。

生成文档

运行命令npm run build文档就会默认生成在apidoc文件夹下,即可查看。

Keywords

tracking

FAQs

Package last updated on 20 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts