question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement MVP for tracking user-flow analysis with Mixpanel

See original GitHub issue

What should we do?

Implement tracking for user-flow analysis with Mixpanel. This means tracking application-scoped events like diagramOpened, diagramClosed, deployOpened, …

  • Define base properties to include in events’ payload:
    • distinctId: editorID
    • version
    • (if applicable) executionPlatform
    • (if applicable) executionPlatformVersion
    • stage: [int, dev, prod]
  • Define events to emit:
Event Properties
diagram:opened
  • diagramType: [bpmn, dmn, form]
diagram:closed
  • diagramType: [bpmn, dmn, form]
overlay:deployment:opened
  • diagramType: [bpmn, dmn, form]
overlay:deployment:closed
  • diagramType: [bpmn, dmn, form]
deployment:success
  • diagramType: [bpmn, dmn, form]
  • targetType: [selfHosted, camundaCloud]
deployment:error
  • diagramType: [bpmn, dmn, form]
  • targetType: [selfHosted, camundaCloud]
  • error
overlay:startInstance:opened
  • diagramType: [bpmn, dmn, form]
overlay:startInstance:closed
  • diagramType: [bpmn, dmn, form]
startInstance:success
  • diagramType: [bpmn, dmn, form]
  • targetType: [selfHosted, camundaCloud]
startInstance:error
  • diagramType: [bpmn, dmn, form]
  • targetType: [selfHosted, camundaCloud]
  • error
overlay:versionInfo:opened
  • source: [menu or statusBar]
link:opened
  • link
button:clicked
  • label

Why should we do it?

This allows us to do user flow-analysis and see all telemetry data in a central place. (e.g., combine Web Modeler and Desktop Modeler data). See https://github.com/bpmn-io/internal-docs/issues/504 for more.

Child of https://github.com/bpmn-io/internal-docs/issues/504

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
smbeacommented, May 3, 2022

Yes, int makes sense. My main point: separate these from the prod events

1reaction
christian-konradcommented, May 2, 2022

I also suggest to name startInstance:opened to startInstancePanel:opened or panel:startInstance:opened or similar, same for deployment, to be less ambiquous (startInstance could also be the action itself)

And in general, is it “link:clicked” or “link:followed”? (In case the link is opened via keyboard… should it be named by the action or the outcome? Does Mixpanel have any best practices?)

Read more comments on GitHub >

github_iconTop Results From Across the Web

User Flow Analysis - Mixpanel
Use this guide to user flow analysis to learn how to focus your time on optimizing the parts of the user experience that...
Read more >
Getting started with product analytics: create a tracking plan | Donux
In our last article, we started defining our business goals; today, we'll see how to create a tracking plan and prepare for the...
Read more >
Minimum Viable Analytics Preserves Your Strategic ...
The focus of MVA, like its namesake the MVP, is to get a tracking framework that delivers “just enough” information for Product Teams...
Read more >
How to Build a Minimum Viable Product (MVP) in 2022
1. So when building an MVP, we pick one or two essential features and create the design that is supposed to trigger the...
Read more >
Product Analytics Buyer's Guide
A guide to choosing the right product analytics solution ... as you iterate on your MVP. ... their team, use data to prioritize...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found