1.0.6 • Published 2 years ago

@moralisweb3/analytics v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

🚀 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);
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago