Skip to content

dapplingnetwork/dapplingAnalytics

Repository files navigation

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.

About

dAppling Network Analytics package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published