You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* remove logging
d'oh.
* reimplement credential validation
previously, we validated credentials by using /import ... this was not an effectively strategy for mp => sheets as consumer permissions can still view reports.
now auth checks should give clear error messages if the credentials are bad.
* standardize tracking model
* serialize errors for tracking
* don't assume time is valid
* add help docs to UI
* surfacing errors to user
* language tweak
* handle status codes
better handling of status codes for mp => sheet; a few UI odds + ends
* tests bad input errors
* vocabulary
* docs refresh
good documentation... finally.
Copy file name to clipboardExpand all lines: README.md
+55-9Lines changed: 55 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -31,25 +31,63 @@ each UI has a simple user interface, and is essentially a form you fill out that
31
31
32
32
## 🗺️ mappings (sheet → mixpanel)
33
33
34
-
choose the type of data you are importing and then use the visual mapper to connect the events in your **currently active**spreadsheet to the **required fields** for the type of mixpanel data you are importing:
34
+
sheet → mixpanel queries your **currently active sheet** to get your sheet's **column headers**.
once you choose the type of data you are importing, you will use the visual mapper to connect the **column headers** from your sheet to the **required fields** for the type of mixpanel data you are importing:
as a brief summary of [the documentation](https://developer.mixpanel.com/docs/data-structure-deep-dive#anatomy-of-an-event) mixpanel's data model for events requires fields for:
41
+
-**event name** : what to call each event in mixpanel
42
+
-**distinct_id** : the unique user identifier to whom the event is attributed
43
+
-**time** : a valid *date* or *time*; if the sheet recognizes your chosen column as a 'date' or time', it should work as intended
44
+
-**insert_id** : a value used to deduplicate records (optional)
37
45
38
46
all other columns in your spreadsheet will get sent as **properties** (event, user, or group)
39
47
40
-
finally, provide some project information and authentication details.
there are a number of parameters needed to fetch a CSV from mixpanel; the simplest way to gather those parameters is to paste the URL of the report/cohort you wish to sync from your mixpanel project, and the app should find them:
46
72
47
-
provide authentication details along with a URL of a report or cohort from your mixpanel project that you wish to sync:
0 commit comments