mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-10-23 00:45:25 +00:00
加入统计服务
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
import {Msg, Page, PluginEvent} from "@/core/types";
|
||||
|
||||
// @ts-ignore
|
||||
import * as UA from "universal-analytics"
|
||||
import {v4} from "uuid"
|
||||
|
||||
// 统计服务
|
||||
const userID = localStorage.getItem("userID") || v4()
|
||||
UA("UA-134924925-3", userID);
|
||||
|
||||
console.log("on background")
|
||||
|
||||
class PortMan {
|
||||
|
||||
Reference in New Issue
Block a user