Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@youngbeen/ums-tracking

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@youngbeen/ums-tracking

The tracking support of ums

npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

ums-tracking

惠农tracking埋点日志基础支持

引用

import tracking from '@youngbeen/ums-tracking'

该基础支撑会在window下面创建一个全局的tracking方法

使用

window.tracking(id, params)

  • id - 埋点日志id,必选
  • params - 埋点附加参数,可选

示例:

window.tracking('TEST_TRACK_LOG') // 发送埋点日志
// 发送一个带附加业务参数的埋点日志
window.tracking('TEST_TRACK_LOG', {
  userName: 'youngbeen',
  mobileNo: '12311112222'
})

Keywords

ums

FAQs

Package last updated on 14 Feb 2019

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