Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>autotrackplugin-v2New to Visual Studio Code? Get it now.
autotrackplugin-v2

autotrackplugin-v2

glj

|
15 installs
| (0) | Free
适用于半自动埋点(vscode)插件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

适用于半自动埋点(vscode)插件

使用方法

按 "Ctrl+Shift+P" 以显示“命令面板”,然后开始键入 "autoTrack" 以筛选和显示命令。
按 "Enter"执行命令。

命令

autoTrack import

在文件获取焦点处生成`import`代码。

import { autoTrack } from 'ROOT/libs/autoTrack/index'

autoTrack template pv

在文件获取焦点处生成埋点代码。

autoTrack.pv('autoTrack_event', 'autoTrack_label');

autoTrack template click

在文件获取焦点处生成埋点代码。

autoTrack.click('autoTrack_event', 'autoTrack_label');
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft