Skip to main content

foundation-comms.defaultfoundationanalytics

Home > @genesislcap/foundation-comms > DefaultFoundationAnalytics

DefaultFoundationAnalytics class​

The default implementation for the FoundationAnalytics interface.

Signature:

export declare class DefaultFoundationAnalytics implements FoundationAnalytics 

Implements: FoundationAnalytics

Constructors​

Constructor

Modifiers

Description

(constructor)(config)

TODO: Remove the static config. We could register a config with the container at startup and have it injected here or remove the constructor and define a method call.

Methods​

Method

Modifiers

Description

trackEvent(eventName, payload)

Set typed overloads

trackEvent(eventName, payload)