import BaseEvent from './BaseEvent' ; import { plausibleCustomEvent , plausibleOutboundLinkEvent , } from './plausibleEvent' ; export const documentsSearchDocumentsInitialized = ( location ) => { const event = { eventName : 'Search Documents Initialized' , featureName : 'documents' , params : { location , } , } ; plausibleCustomEvent ( event ) ; } ; export const documentsOpenDocument = ( location , fileName ) => { const event = { eventName : 'Open Document' , featureName : 'documents' , params : { location , fileName , } , } ; plausibleCustomEvent ( event ) ; } ; export const servicePortalCloseOnBoardingModal = ( location ) => { const event = { eventName : 'Close On Boarding Modal' , featureName : 'service-portal' , params : { location , } , } ; plausibleCustomEvent ( event ) ; } ; export const servicePortalSubmitOnBoardingModal = ( location ) => { const event = { eventName : 'Submit On Boarding Modal' , featureName : 'service-portal' , params : { location , } , } ; plausibleCustomEvent ( event ) ; } ; export const servicePortalOutboundLink = ( ) => { plausibleOutboundLinkEvent ( ) ; } ;