dappling-analytics
v1.2.3
Published
Gain real-time traffic insights with dAppling Analytics
Downloads
32
Readme
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
- Add the
dappling-analytics
package to your project
npm i dappling-analytics
yarn add dappling-analytics
- 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>
);
}
- 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.