New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hadx/analytics

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hadx/analytics

Hadex's analytics service to track and report app's usage

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Hadex Analytics

This is Hadex's analytics service to track and report React Native app's usage using Firebase's firestore.

What for?

Why not use Firebase Analytics?

You can have access to all the data since it's hosted on your firebase firestore. No need to export to BigQuery which is not free.

Getting started

  1. Create a new project on firebase console (ex: AppsAnalytics)

  2. Add a Web App to the project

  1. Copy the firebaseConfig part to credentials/firebaseConfig.ts

In credentials/firebaseConfig.ts

const FirebaseConfig: any = {
// put it here
};

export default FirebaseConfig;

  1. Install this package
yarn add @hadx/analytics

Basic Usage

On your React Native app initialization:

import Analytics from '@hadx/analytics';


export default class App extends React.Component {
    componentDidMount() {
        Analytics.initialize({appID: 'myappID'}, () => {
            Analytics.logEvent('openApp')
        });
    }
}

Keywords

FAQs

Package last updated on 16 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc