change: update ga events

This commit is contained in:
debugtalk
2022-03-22 11:54:49 +08:00
parent b367a68d9b
commit bbca38f545
3 changed files with 4 additions and 3 deletions

View File

@@ -48,6 +48,7 @@ func initPlugin(path string, logOn bool) (plugin funplugin.IPlugin, err error) {
event := ga.EventTracking{
Category: "InitPlugin",
Action: fmt.Sprintf("Init %s plugin", plugin.Type()),
Value: 0, // success
}
if err != nil {
event.Value = 1 // failed