Skip to content

Commit

Permalink
Track link variants property when field is added (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-mp authored Dec 19, 2024
1 parent 4488860 commit 81b2fce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/manager/src/managers/telemetry/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ type FieldAddedSegmentEvent = SegmentEvent<
contentType: "page type" | "custom type" | "slice";
allowText?: boolean;
repeat?: boolean;
variants?: string[];
}
>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function trackFieldAdded(args: TrackFieldAddedArgs) {
...(field.type === "Link" && {
allowText: field.config?.allowText,
repeat: field.config?.repeat,
variants: field.config?.variants,
}),
});
}

0 comments on commit 81b2fce

Please sign in to comment.