1.0.2 • Published 4 years ago
tmn-batch-alias-mixpanel v1.0.2
Batch Alias Mixpanel
Install
Using npm, if you doesn't have NodeJS in your machine, please install latest version.
npm i tmn-batch-alias-mixpanel -g
Setup Project
- create folder for configuration
- go to that folder
- create
.env
file with this content
MIXPANEL_TOKEN=xxxxxxxxx
MIXPANEL_SERVICE_ACCOUNT=
MIXPANEL_SECRET=
Mixpanel Service Account & Secret can create in Service Account
menu in project setting
- copy your csv file to subfolder called
data
- run batch from cli
tmn-batch-alias-mixpanel
CSV Specification
csv file should contains 2 column. distinctID
and tmnID
. Header in csv file is required.
Example
distinctID,tmnID
54b0b39b0313fa69f6c8e29bc5d046d65e690f17,tmn.10012345678
441a9f65e970b362130ec968df05b6c5fbd0b396,tmn.10012345679