diff --git a/tglog.go b/tglog.go index 8257c7a..f95d160 100644 --- a/tglog.go +++ b/tglog.go @@ -78,7 +78,6 @@ func (this *tgLog) AddCustomLog( accountId string, distinctId string, ip string, - eventName string, prop map[string]interface{}) { logObj := struct { AccountId string `json:"#account_id"` @@ -93,7 +92,7 @@ func (this *tgLog) AddCustomLog( DistinctId: distinctId, Type: "track", Time: q5.FormatUnixDateTime(_app.GetRealSeconds(), _app.GetLocation()), - EventName: eventName, + EventName: "custom_event", Ip: ip, Properties: prop, }