Files
twenty/packages/twenty-front/src/modules/analytics/graphql/queries/track.ts
T
2025-04-16 16:33:10 +00:00

20 lines
334 B
TypeScript

import { gql } from '@apollo/client';
export const TRACK_ANALYTICS = gql`
mutation TrackAnalytics(
$type: AnalyticsType!
$event: String
$name: String
$properties: JSON
) {
trackAnalytics(
type: $type
event: $event
name: $name
properties: $properties
) {
success
}
}
`;