melissaguyre / mixpanel-segmentation-google-spreadsheets

Mixpanel Segmentation Data Export script for report automation into Google Spreadsheets
46 stars 31 forks source link

Can one mixpanel-segmentation-google-spreadsheets be modified to fetch from two different MixPanel accounts (with two different API/Token) #8

Open esaruoho opened 7 years ago

esaruoho commented 7 years ago

@melissaguyre Hi, we have two separate applications on MixPanel and I currently have two separate mixpanelfetchers triggered every 4 hours, with (obviously) two different API Tokens and Secret Keys and stuff. They both write to the same Google Sheet though, just different sheets. I'm wondering, is there some way of mixing and matching these so that I'd just have one simple mixpanelfetcher script but with multiple keys and tokens, so some data would be run with this key+token and some data with this other key+token? Or should I give up and keep them separate?

BTW Thanks a lot for this code, it was a real lifesaver for getting mixpanel -> google sheets -> visualization with geckoboard. I was despairing before this.