@3stats/dcl-tracer
3stat is a Metaverse analytics service offered by 3pass that tracks and reports activities around your virtual land.
Visit dashboard.3pass.app to try it out
Requirements
- Node 16+
- decentraland @latest
- decentraland-ecs @latest
Installation
To install or update the package use the following commands:
npm i @3stats/dcl-tracer@latest
Usage
- Simply add the following lines to your scene's
src/game.ts
file:
import "../node_modules/@3stats/dcl-tracer/registerDclEvents"
\\ Insert your code here
- Deploy your scene to the decentraland catalyst servers:
dcl deploy
- Visit dashboard.3pass.app and select your land's coordinates
Custom events
If you are a registerd, you can fire custom events, example:
import { customEvents } from '../node_modules/@3stats/dcl-tracer/index'
// ... your code here
customEvents({
eventType: 'customEvent',
tags: ['testTag'] // Optional
})
FAQ
- How do I check if ir works?
Problems?
For specific technical issues, please feel free to file a github issue which includes the following information:
- Full backtrace and/or a detailed explanation of the error
- Steps to reproduce (when relevant)
- Versions of the environment you are using: Node, NPM, Yarn, Decentraland CLI/SDK, OS, etc
For other topics, please join our discord
License
Please see LICENSE for licensing details.