diff --git a/frontend/src/composables/use-analytics.ts b/frontend/src/composables/use-analytics.ts index 96a7f30e9ad..8c1a1663459 100644 --- a/frontend/src/composables/use-analytics.ts +++ b/frontend/src/composables/use-analytics.ts @@ -1,5 +1,11 @@ import { useContext } from "@nuxtjs/composition-api" +/** + * This wrapper around the plugin, retained to reduce code churn. + * + * @deprecated For new code, use `$sendCustomEvent` from Nuxt context + * @see {@link ~/plugins/analytics.ts} for plugin implementation + */ export const useAnalytics = () => { const { $sendCustomEvent } = useContext()