Installation
The Mtrix package is designed to be lightweight and easy to integrate with any JavaScript application. It's available on npm and can be installed with your package manager of choice.
Using npm
npm install mtrix --save
Using yarn
yarn add mtrix
Using pnpm
pnpm add mtrix
Manual Download
You can also download the package directly from our CDN and include it in your HTML:
<script src="https://cdn.mtrix.io/v1/mtrix.min.js"></script>
Package Size
The Mtrix package is designed to be lightweight to minimize impact on your application's load time:
Build
Size (gzipped)
Features
Core
~12kB
Basic event tracking and API
Full
~28kB
All features including session recording
The package uses tree-shaking to ensure that only the code you use is included in your final bundle.
Last updated