diff --git a/pkg/wcloud/wcloud.go b/pkg/wcloud/wcloud.go index 43c60491f..aecc4efea 100644 --- a/pkg/wcloud/wcloud.go +++ b/pkg/wcloud/wcloud.go @@ -130,7 +130,7 @@ func SendTelemetry(ctx context.Context, clientId string) error { } log.Printf("[wcloud] sending telemetry data\n") dayStr := daystr.GetCurDayStr() - input := TelemetryInputType{ClientId: clientId, UserId: clientId, CurDay: dayStr, Activity: activity} + input := TelemetryInputType{ClientId: clientId, UserId: clientId, CurDay: dayStr, Activity: activity, AppType: "w2"} req, err := makeAnonPostReq(ctx, TelemetryUrl, input) if err != nil { return err diff --git a/pkg/wcloud/wclouddata.go b/pkg/wcloud/wclouddata.go index 8068b457f..466d83465 100644 --- a/pkg/wcloud/wclouddata.go +++ b/pkg/wcloud/wclouddata.go @@ -15,6 +15,7 @@ type NoTelemetryInputType struct { type TelemetryInputType struct { UserId string `json:"userid"` ClientId string `json:"clientid"` + AppType string `json:"apptype"` CurDay string `json:"curday"` DefaultShell string `json:"defaultshell"` Activity []*telemetry.ActivityType `json:"activity"`