How to use the expo-analytics-amplitude.logEvent function in expo-analytics-amplitude

To help you get started, we’ve selected a few expo-analytics-amplitude examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github expo / expo / home / api / Analytics.ts View on Github external
export function track(event: string, options?: TrackingOptions): void {
  initialize();
  const properties = normalizeTrackingOptions(options);

  if (properties) {
    Amplitude.logEventWithProperties(event, properties);
  } else {
    Amplitude.logEvent(event);
  }
}
github bastiRe / eLadder / app / App.js View on Github external
render() {
    if (!this.state.isLoadingComplete) {
      return (
         this.setState({ isLoadingComplete: true })}
        />
      );
    }

    Amplitude.logEvent("OpenApp");

    return (
      
        
      
    );
  }
}

expo-analytics-amplitude

Provides access to Amplitude (https://amplitude.com/) mobile analytics. This module wraps Amplitude-iOS (https://github.com/amplitude/Amplitude-iOS) and Android (https://github.com/amplitude/Amplitude-Android) SDKs.

MIT
Latest version published 3 years ago

Package Health Score

70 / 100
Full package analysis