GMI Software
Core areas
AI & Automation
From workflow and business case to production
Mobile Apps
iOS, Android, React Native
Headless & B2B commerce
Stores, sales platforms, ERP/PIM integrations
Complementary services
AI-gen developmentE-commerce mobile analyticsProduct Discovery & DesignBackend, API & IntegrationsMaintenance & AuditsDDT process
Don't know what to choose? Order a consultation
Our projects
Case studies and references
App Ideas Library
Use case examples
MobileCore Stack
React Native
E-commerceCore Stack
Service: commerce & B2BAdvanced commerceMedusaJS
Frontend & QA
Next.jsReactTypeScriptPlaywrightMaestro
Backend, DB & Cloud
Node.jsNestJSPostgreSQLDockerAWS
E-commerce Innovation
3D configurators (BabylonJS)AI agents & automationRAG & knowledge basesAI-native software companyView all AI services
View all technologies
About us
Our history and values
Careers
Join our team
Contact
Get in touch
Get in touch
AI Opportunity Sprint
Services
Mobile AppsHeadless & B2B commerceAll services
Projects and results
Technologies
Next.jsNode.jsAWSFull technology stack
Meet GMIGet in touch
Back to blog
Mobile commerce analytics
Published: August 26, 2026
11 min read

How to build a tracking plan for an e-commerce mobile app

Mikołaj Lehman, CEO & Founder, GMI Software
Mikołaj Lehman
CEO & Founder, GMI Software

Mikołaj Lehman is the CEO and founder of GMI Software. On the blog, he covers decisions around mobile apps, ecommerce and digital product delivery.

  • Mobile apps and React Native
  • Headless and B2B ecommerce
  • MedusaJS
  • Digital product delivery

A mobile commerce analytics tracking plan is an agreed contract defining each event, its trigger, required parameters, business question and validation owner. It should exist before SDK implementation. Purchases must be confirmed by the backend rather than inferred only from a success screen.

Start with business questions, then name events

An event list without a decision behind it quickly becomes telemetry clutter. Start with questions: where customers drop off, which searches return no products, which channel attracts buyers, which payment method fails and whether customers return after the first order.

Then map the journey to events. Names should describe completed behaviour, such as view_item, add_to_cart and begin_checkout. Parameters carry context: product, category, price, currency, cart, campaign and app version. This is the foundation of useful e-commerce mobile app analytics.

Minimum viable event taxonomy

Version one does not need one hundred events. It needs a complete purchase journey and a small set of diagnostic signals. Every event needs one trigger definition and a required parameter list.

  • app_open and view_item — entry and product interest.
  • search and search_no_results — demand and catalogue gaps.
  • add_to_cart, view_cart and begin_checkout — purchase intent.
  • add_shipping_info and add_payment_info — delivery and payment friction.
  • purchase, payment_failed and refund — system-confirmed financial outcomes.
  • push_open and loyalty_redeem — customer return and loyalty use.

Purchase and refund must come from the backend

A thank-you screen is not a source of truth: the app can close, the payment callback can arrive later and the customer can return through a deep link. Send purchase after payment confirmation and order persistence, with a unique transaction_id. The same identifier prevents duplicate reporting.

Validate before launch

QA walks the full funnel on iOS and Android, compares parameters with the contract and tests failure paths: offline use, payment retry, provider return, coupon, empty search and refund. Compare revenue reporting with the backend on a controlled order sample.

  1. Approve taxonomy and owners.
  2. Implement events through one app layer.
  3. Confirm purchase and refund server-side.
  4. Inspect parameters in debug mode.
  5. Reconcile reports with backend orders.
  6. Freeze the launch contract version.

Owner, version and change process

A tracking plan does not end at launch. Every new checkout field, shipping option, loyalty flow or experiment can change the data contract. The document therefore needs a version, date, business owner and technical owner. Renaming an existing event requires a migration plan or historical reports stop being comparable.

The simplest process resembles code review: the feature owner defines the question and expected event, analytics checks taxonomy consistency, engineering reviews the source and parameters, and QA adds test cases. Only an approved version reaches the app and dashboards.

Sources and a ready starting point

GA4 ecommerce events: https://developers.google.com/analytics/devguides/collection/ga4/ecommerce

Firebase Analytics: https://firebase.google.com/docs/analytics

Sample tracking plan CSV: https://gmi.software/resources/mobile-commerce-tracking-plan.csv

Frequently asked questions

How many events should a tracking plan contain?
Enough to reconstruct the key funnel and decisions. A first commerce release often needs 12–25 well-defined events rather than hundreds with no owner.
Does GA4 automatically measure app purchases?
No. E-commerce events and parameters require implementation, and purchase should preferably be confirmed by the backend.
Who should own the tracking plan?
A business owner owns questions and decisions, while a technical owner owns the contract, implementation and quality. Leaving the document only to developers or marketing usually creates gaps.

Related reading

  • E-commerce mobile app analytics

    Tracking plan, funnels, attribution and product data connected to commerce outcomes.

  • React Native mobile apps

    Build, modernization and growth of commerce apps for iOS and Android.

  • Headless commerce and sales backend

    One source of truth for catalogue, cart, order and payment.

Content updated: August 26, 2026

Google Preferred Sources

See GMI more often in Google

Add gmi.software as a preferred source. Google may highlight our new articles more often in Top Stories and supported AI experiences.

Share article:

Related articles

Mobile commerce analytics

Best analytics tools for mobile commerce — comparison

GA4 and Firebase, Amplitude, Mixpanel, PostHog, AppsFlyer and Adjust: roles, limitations and example stacks.

Mobile commerce analytics

AppsFlyer and Firebase for commerce apps — architecture

Responsibility split across attribution, product analytics and backend orders; identifiers, deep links, privacy and QA.

Contact

Let's talk
about the project.

Have an app idea or need technological support? Write to us — we'll prepare a preliminary analysis and estimate within 48h. Projects that go through our DDT process (Discovery, Design & Technology) come with a price guarantee and a fixed-price agreement — a key differentiator for us.

Write to us[email protected]
Visit us
GD
gmi.software Sp. z o.o.ul. Jana Heweliusza 11 / 819
80-890 Gdansk, PolandNearshore product delivery across EU, UK and US time zones.
NIP: 5252816287KRS: 0000830003
gmi.
ServicesOur projectsBlogBrief assistantContact
LIFAINGI
Mobile Trends Awards 2025 nomination - SFD app
© 2026 gmi.software Sp. z o.o.
Privacy PolicyTerms