-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(app): Add robot pipettes, versions, FFs to mixpanel and intercom #3059
Conversation
Codecov Report
@@ Coverage Diff @@
## edge #3059 +/- ##
==========================================
- Coverage 53.58% 53.52% -0.06%
==========================================
Files 678 678
Lines 19695 19718 +23
==========================================
+ Hits 10553 10554 +1
- Misses 9142 9164 +22
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌮 Tested on wandering-katie
with mac build.
Can confirm in debug: Intercom update
contained
- API version
- Smoothie version
- Left pipette model (already present in Intercom profile)
- Right pipette model (already present in Intercom profile)
- Robot feature flag settings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎀 Reviewed w/ @mcous , everything shows up correctly in Intercom and MixPanel (and doesn't show up if you have opted-out of analytics)
Codecov Report
@@ Coverage Diff @@
## edge #3059 +/- ##
==========================================
- Coverage 53.58% 53.52% -0.06%
==========================================
Files 678 678
Lines 19695 19718 +23
==========================================
+ Hits 10553 10554 +1
- Misses 9142 9164 +22
Continue to review full report at Codecov.
|
overview
This PR adds data about the connected robot to certain analytics events as well as the user's Intercom support profile:
It submits this data to Intercom any time that data may change, and to MixPanel on:
Closes #3009, closes #3010
changelog
review requests
Without any environment variables set, you will see debug logs for the Mixpanel event (
debug: Trackable event
) and for the Intercom event (debug: Intercom update
).If you test with the production app, you should see these events go all the way to Mixpanel and Intercom. Make sure you're opted into analytics, and you can get your Mixpanel and Intercom user IDs from the app's config file (see app-shell README for config file location) under the
analytics
andsupport
keys, respectively.