【文件属性】:
文件名称:event-timer:跟踪“实际用户”等待的时间...(例如VideoStart,AdStart等)
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-08 03:30:20
JavaScript
事件计时器
简单的库可跟踪Google Analytics(分析)中事件的发生时间(用于实时用户监控)(与DTM和GA事件一起使用)
用法:
设定计时器
EVENT_TIMER . init ( 'timer_a' , function ( timings ) {
console . log ( '## timer started' , timings ) ;
// using GA events
// ga('send', 'event', timings.timerName, 'init', 'na');
// OR using DTM w/ appropriate data elements
// _satellite.track('TimerInit');
} ) ;
输出:
[object Obje
【文件预览】:
event-timer-master
----.gitignore(7B)
----package.json(309B)
----index.js(2KB)
----examples()
--------index.html(1KB)
----README.md(1KB)