feat(analytics): add clickhouse (#11174)
This commit is contained in:
@ -1,8 +1,18 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const TRACK = gql`
|
||||
mutation Track($action: String!, $payload: JSON!) {
|
||||
track(action: $action, payload: $payload) {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user