GithubHelp home page GithubHelp logo

stpe / mixpanel-engage-post Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 7.0 8 KB

Batch post People Data to Mixpanel Engage API

JavaScript 100.00%
analytics command-line-tool javascript mixpanel mixpanel-api

mixpanel-engage-post's Introduction

mixpanel-engage-post's People

Contributors

stpe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mixpanel-engage-post's Issues

compatibility error with the cat command

Hello,

I generated a json file to delete some users. (there are 2 id).

This command : cat id-to-delete.json > node engagepost.js -k myKey -s mySecretKey -t myToken
return an error :

cat: -k: No such file or directory
cat: mykey No such file or directory
cat: -s: No such file or directory
cat: mySecretKey: No such file or directory
cat: -t: No such file or directory
cat: myToken: No such file or directory

If i do with the command : less.

I have no error but none of my users are deleted.

I look up, my 2 id i want to delete are well on Mixpanel.

And...here how is my id-to-delete.json :
[ { "$distinct_id": "59e6a7a1", "$delete": "" }, { "$distinct_id": "0bbdc673", "$delete": "" } ]

And I tried to write down my key, secretKey and token in a .env file (in the same folder than engagepost.js) like thus :

MIXPANEL_API_KEY=myKey
MIXPANEL_API_SECRET=mySecretKey
MIXPANEL_API_TOKEN=myToken

No error again...but none of my users are deleted.

Any idea ?

Thanks

Records are not getting deleted from Mixpanel

Hello Stpe,

I am trying to delete some users from my Mixpanel account, I generated the json file using JQL and it has 144 records (testing records, actual records count that I wanna delete is 150k).

My json looks like:

[
    {
        "$distinct_id": "B85FB5AC-BA91-474A-AE4A-FA4A597626C4",
        "$delete": ""
    },
    {
        "$distinct_id": "0B22BD2A-2E9D-4337-A8CD-FEC51E0E8C9E",
        "$delete": ""
    }
]

And the command that I am running from the terminal is:

cat ~/test/Untitled_Query.json | node /usr/local/lib/node_modules/mixpanel-engage-post/engagepost.js

No errors are getting returned after I run the command, and my records stay the same in Mixpanel, what am I doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.