Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@moralisweb3/analytics

Package Overview
Dependencies
Maintainers
8
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moralisweb3/analytics

<h1 al

  • 1.0.5
  • Source
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source
Moralis Analytics

Moralis Analytics JS

A tiny Moralis analytics helper library.


🚀 Quick start

If you're new to Moralis, check the quickstart guide in the official docs on how to get started.

1. Install Moralis Analytics

Install the package via npm:

npm install @moralisweb3/analytics

Import Moralis Analytics:

import { Analytics } from '@moralisweb3/analytics';

2. Create a new Analytics instance

const analytics = new Analytics('MORALIS_LIVE_KEY');

3. Track your users

In the callback method of your authentication flow simply invoke the analytics.address method with the users address and any optional metadata.

analytics.address(account.address, { provider: account.connector?.name });

// OR simply

analytics.address(account.address);

FAQs

Package last updated on 14 Apr 2023

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