dappling-analytics
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

dAppling Analytics

Overview

dappling-analytics is a fork of @vercel/analytics that allows you to track page views and users in your Next.js app or any other website that is deployed on dAppling.

All page views are automatically tracked in your app.

This package does not track data in development mode.

Quickstart

  1. Add the dappling-analytics package to your project
npm i dappling-analytics
yarn add dappling-analytics
  1. Inject the Analytics script to your app
import { Analytics } from 'dappling-analytics/react'

// ...

export default function App() {
  return (
    <div>
     <Analytics />
     <h1>Hello Earth</h1>
   </div>
  );
}
  1. Re-deploy your app to dAppling and see your garden growing.

Documentation

Find more details about this package and see an example in our documentation.

Readme

Keywords

Package Sidebar

Install

npm i dappling-analytics

Weekly Downloads

92

Version

1.2.3

License

MPL-2.0

Unpacked Size

86.7 kB

Total Files

19

Last publish

Collaborators

  • alwaysbegrowing