diff --git a/packages/manager/src/managers/telemetry/types.ts b/packages/manager/src/managers/telemetry/types.ts index 9d819501d..b9551e7b9 100644 --- a/packages/manager/src/managers/telemetry/types.ts +++ b/packages/manager/src/managers/telemetry/types.ts @@ -210,6 +210,7 @@ type FieldAddedSegmentEvent = SegmentEvent< contentType: "page type" | "custom type" | "slice"; allowText?: boolean; repeat?: boolean; + variants?: string[]; } >; diff --git a/packages/slice-machine/src/utils/tracking/trackFieldAdded.ts b/packages/slice-machine/src/utils/tracking/trackFieldAdded.ts index c4eb4cf54..063547675 100644 --- a/packages/slice-machine/src/utils/tracking/trackFieldAdded.ts +++ b/packages/slice-machine/src/utils/tracking/trackFieldAdded.ts @@ -28,6 +28,7 @@ export function trackFieldAdded(args: TrackFieldAddedArgs) { ...(field.type === "Link" && { allowText: field.config?.allowText, repeat: field.config?.repeat, + variants: field.config?.variants, }), }); }