What to track in terms of product usage in our React app? Now that you know how to instrument your React app by pushing events on user actions & visits, let’s see what are the essential elements to track. Import Įach time a user visits a route, an event is pushed when they display it and when they leave it to know how much time they spent on it. In the future, it might be even more interesting to rely on Segment to collect events & push them to different destinations. Pendo, Fullstory, Mixpanel) for which you wish to push events. This way, you can easily plug additional analytics solutions (eg. You want this provider to be an abstraction on top of Amplitude. This session takes the shape of a React context provider. You can then push events to Amplitude associated to this user & session while they navigate the app. When using a Product analytics solution like Amplitude in a React app, you need to initialize a session when our app is first loaded for the current logged-in user. Let’s see how you can use it in your React app. Moreover, it has a pricing model which adapts as you’re growing. From a technical standpoint, it’s easy to integrate across your stack (mobile, web, server-side). There are a lot of Product analytics solutions around there: Mixpanel, Amplitude, Pendo and Fullstory to name a few.Īmplitude brings a lot to each of the steps described above in a single platform. A GitHub repository containing all the source code is available. The code snippets used in this section are part of a demo application using React.js & Amplitude. How to integrate Amplitude with a React app? Empower everyone with data: make data the fuel of your iterative process by letting everyone ask questions, find answers & understand indicators of success.Analyze data: refute or validate an hypothesis based on your 360 view and build the next experiment/test you want to perform.Integrate data: aggregate & transform information across subdomains (billing, support, your product features) to get a 360 view of your users.Collect data: instrument your web app to receive events on how users navigate & what actions they perform.How much you get from it depends on your company’s experience & maturity at them: Product analytics consist of multiple steps. Usage data is used to optimize critical paths, A/B test new solutions & keep getting insights on new features. Scale stage: it’s all about establishing your product as a reference.It helps you identify bottlenecks & scale things. A lot of features are implemented & the volume of usage data is growing rapidly. Growth stage: it’s all about capturing as many customers as possible.Data is scarce but helps you validate ideas, understand what’s working & what’s not. Creation stage: it’s all about finding a product-market fit, building the features that your users need.Gaining visibility into users actions is valuable at any stage of a company, especially when its product is a web app.
0 Comments
Leave a Reply. |