See all services → Shopify Plus Partner
API Developer

Track App Usage With App Events in Shopify Admin

Admin UI extensions and embedded apps can now emit app events to Shopify, extending telemetry beyond checkout and customer accounts. The API is optional, excludes personal data, and does not replace billing events.

Executive summary

What changed

The app events API is now available on two further surfaces. Admin UI extensions on API version 2027-01 or later can call it, as can embedded apps using App Bridge from their pages inside the Shopify admin. Embedded apps need no specific API version. With the checkout and customer account surfaces shipped at Editions, that covers all three extension contexts.

The call takes an event handle and an optional attributes object. Shopify attaches the app and shop to every event, so no access token or shop identifier is needed. Attributes must not carry anything identifying an individual: names, email addresses, phone numbers, staff IDs, or customer IDs. Accepted events appear in the Dev Dashboard logs next to backend events, without identifying which extension or staff member produced them.

Rate limits are modest and worth designing around. Each admin UI extension gets a burst of up to 20 events then 2 per second, and an embedded app has the same allowance shared across one admin tab. On should-render and data targets the call sends nothing and resolves with success false, so treat the return value as meaningful rather than fire and forget. These events are not processed for billing, so usage reporting for Shopify App Pricing still needs a billing event from your backend.

Why it matters

For Shopify Plus merchants the effect is indirect but real. Admin tooling has been the least instrumented part of the app ecosystem, which is why vendors often cannot tell you whether the feature your team requested is used once it ships. Telemetry across all three surfaces raises the odds that roadmap decisions reflect operator behaviour rather than assumption.

The direct benefit lands with teams running internal or private apps. If you have built an embedded app for merchandisers or customer service, you can measure adoption of individual actions without standing up a separate analytics stack. That is a genuine reduction in scope for the kind of custom app work enterprise teams commission.

Role-specific impact

Use-case example

Real-world scenario

A distributor runs a private embedded app that lets its merchandising team bulk-apply metafield templates to incoming products, and suspected it was under-used. After adding emit calls on three actions, the logs showed the template picker opened around 40 times a week while bulk apply fired only 6 times, pointing to a confusing confirmation step rather than low demand. Reworking that step raised completed bulk applies to 31 per week over the following month, with no change to the underlying logic.

Implementation checklist

  1. Decide which admin actions genuinely inform a product or operational decision, and name a stable event handle for each.
  2. Set api_version to 2027-01 or later in shopify.extension.toml for any admin UI extension that will emit events.
  3. Add emit calls with concise attribute sets, excluding any field that could identify a person.
  4. Inspect the returned result and log failures, including the unavailable case on should-render and data targets.
  5. Run shopify app dev and exercise the extension in a development store to confirm events are produced.
  6. Open Logs in the Dev Dashboard and verify the events arrive with the attributes you expect.
  7. Keep emission inside the burst and sustained limits, sampling high-frequency interactions.

FAQ

Q: Does adopting this require changes to existing extensions?

A: No. The API is new and optional, so extensions and embedded apps continue to work untouched. Only extensions on API version 2027-01 or later have access.

Q: Can we use app events to report usage-based charges?

A: No. Events from admin UI extensions and embedded apps are not processed for billing. Usage reporting for Shopify App Pricing still needs a billing event sent from your app backend.

Resources

App events documentation

Need guidance? Talk to Makro.