refactor: replace GA with GA4

This commit is contained in:
lilong.129
2023-07-20 23:29:49 +08:00
parent 503b3fd38f
commit 17b6d95b3b
8 changed files with 48 additions and 51 deletions
+1 -4
View File
@@ -8,10 +8,7 @@ import (
)
func OpenWiki() error {
sdk.SendEvent(sdk.EventTracking{
Category: "OpenWiki",
Action: "hrp wiki",
})
sdk.SendGA4Event("hrp_wiki", nil)
log.Info().Msgf("%s https://httprunner.com", openCmd)
return myexec.RunCommand(openCmd, "https://httprunner.com")
}