diff --git a/src/modules/core/amplitude/amplitudeBrowserClient.ts b/src/modules/core/amplitude/amplitudeBrowserClient.ts index 1ba28b1a..e592d373 100644 --- a/src/modules/core/amplitude/amplitudeBrowserClient.ts +++ b/src/modules/core/amplitude/amplitudeBrowserClient.ts @@ -159,7 +159,8 @@ export const getDefaultEventProperties = (): GenericObject => { }; /** - * Returns a browser-compatible Amplitude instance + * Returns a browser-compatible Amplitude instance. + * * @param props */ export const getAmplitudeInstance = (props: GetAmplitudeInstanceProps): AmplitudeClient | null => { @@ -180,6 +181,7 @@ export const getAmplitudeInstance = (props: GetAmplitudeInstanceProps): Amplitud * Initialise Amplitude and send web-vitals metrics report. * * @param report + * * @see https://web.dev/vitals/ Essential metrics for a healthy site * @see https://nextjs.org/blog/next-9-4#integrated-web-vitals-reporting */ diff --git a/src/modules/core/amplitude/amplitudeServerClient.ts b/src/modules/core/amplitude/amplitudeServerClient.ts index e59d73ab..4ef95eb1 100644 --- a/src/modules/core/amplitude/amplitudeServerClient.ts +++ b/src/modules/core/amplitude/amplitudeServerClient.ts @@ -25,7 +25,6 @@ const amplitudeServerClient = init(process.env.NEXT_PUBLIC_AMPLITUDE_API_KEY, { * * @param eventName * @param userId - * * @param props * * @see https://developers.amplitude.com/docs/nodejs