This demo shows how to use Web3 Analytics to instrument an app that uses a package manager like NPM. Debug is enabled so you can see the full interaction in the console of the browser inspector. Documentation for Web3 Analytics is available here.
Click the 'Track event', 'Track page view', or 'Track identify visitor' to see interactions in the console. This example actually uses two back-ends in parallel, demonstrating how data can be sent to both Web3 Analytics and Google Analytics simultaneously.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.