Installation
This guide covers the installation of SupaMetrics and how to edit your new project.
To install and use SupaMetrics for your projects, follow this steps:
Prerequisites (React.js/Nextjs)
1
System Requirements
- Node.js: Make sure you have Node.js installed. The project uses
npm
, which comes with Node.js. Install Node.js from here. - NPM or Yarn: Since the project uses
npm
commands, ensure that npm is installed with Node.js. Alternatively, you can use Yarn if preferred.
To verify installation, run:
node -v
npm -v
2
SupaMetrics
To install SupaMetrics, run this command:
npm install supametrics
3
Code Editor
You’ll need a code editor to add the Script tag/Component to the project. Common options include:
- Visual Studio Code
- WebStorm
- Any other text editor you prefer.