jiti-meet/react/features/analytics/handlers/amplitude/Amplitude.web.js

15 lines
404 B
JavaScript
Raw Normal View History

import amplitude from 'amplitude-js';
export default {
/**
* Returns the AmplitudeClient instance.
*
* @param {Object} options - Optional parameters.
* @property {string} options.instanceName - The name of the AmplitudeClient instance.
* @returns {AmplitudeClient}
*/
getInstance(options = {}) {
return amplitude.getInstance(options.instanceName);
}
};