mParticle is a customer data platform that makes it easy to collect and organize data before sending it to product analytics, A/B testing, marketing automation, and data warehousing tools.
mParticle provides several SDKs and APIs allowing you to collect data from a variety of sources, like a mobile app, web app, or data feeds from other SaaS providers.
You can collect two types of data with mParticle:
To demonstrate how mParticle works, you will learn how to track basic event data like page views and purchase events in a web app using the mParticle web SDK. Then, you will learn how to send that data to a webhook. You will also learn how to manage your data quality by creating a data plan.
mParticle is extremely flexible. There are thirteen SDKs for specific platforms like web, iOS, and Android, in addition to several APIs. mParticle also provides over 250 integrations with data warehouse, analytics, and marketing automation tools.
To keep your first steps with mParticle quick and easy, this tutorial uses the web SDK and a sample ecommerce app built using React called The Higgs Shop.
By initializing the Web SDK in your app, you gain access to useful methods you can call in your app’s code to send events and user data to mParticle.
In order to begin sending data from your app to mParticle, you will need access to an mParticle account and an API key.
This tutorial demonstrates how mParticle works using The Higgs Shop, a sample web application built using React.
.env. We will replace the environment variable
REACT_APP_MPARTICLE_API_KEYwith the API Key in step 5
npm start. This will start a development server before automatically opening The Higgs Shop in a new browser window.
Was this page helpful?