@scaled-club/tracking
v0.0.28
Published
Analytics tracking package.
Downloads
102
Readme
Tracking
This repository contains the code behind @scaled-club/tracking
package which is responsible for creating a layer between our code and the analytics platform (TinyBird).
Setup
After installing, you'll have to set up a new environment variable containing the TinyBird token.
# .env
TRACKING_TB_TOKEN="..."
# During development and test, TRACKING_ENABLED should be "false"
TRACKING_ENABLED=true
# When TRACKING_ENABLED=false, controls if tracking logs are displayed
TRACKING_LOG=false