mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
20 lines
557 B
JavaScript
20 lines
557 B
JavaScript
|
// import Amplitude from 'react-native-amplitude-analytics';
|
||
|
import { GoogleAnalyticsTracker } from 'react-native-google-analytics-bridge';
|
||
|
|
||
|
// Amplitude.initialize('8b7cf19e8eea3cdcf16340f5fbf16330');
|
||
|
const analytics = new GoogleAnalyticsTracker('UA-121673546-1');
|
||
|
|
||
|
let A = function(event) {
|
||
|
// Amplitude.logEvent(event);
|
||
|
analytics.trackEvent(event, event);
|
||
|
};
|
||
|
|
||
|
A.ENUM = {
|
||
|
INIT: 'INIT',
|
||
|
GOT_NONZERO_BALANCE: 'GOT_NONZERO_BALANCE',
|
||
|
CREATED_WALLET: 'CREATED_WALLET',
|
||
|
CREATED_LIGHTNING_WALLET: 'CREATED_LIGHTNING_WALLET',
|
||
|
};
|
||
|
|
||
|
module.exports = A;
|