Repository navigation
ECTO-2581 - Add tracking for extension store checkout - #144
Merged
Merged
Conversation
Jannik (qysp)
force-pushed
the
task/ECTO-2581
branch
from
April 17, 2026 05:39
e48f9b9 to
2214d8e
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## epic/ECTO-2267 #144 +/- ##
=================================================
Coverage ? 51.81%
=================================================
Files ? 37
Lines ? 911
Branches ? 190
=================================================
Hits ? 472
Misses ? 423
Partials ? 16 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Jannik (qysp)
force-pushed
the
task/ECTO-2581
branch
2 times, most recently
from
April 21, 2026 06:29
76347f7 to
6576373
Compare
Jannik (qysp)
marked this pull request as ready for review
April 21, 2026 07:50
Jannik (qysp)
requested review from
Florian Büscher (FloBWer),
Copilot and
Kai Gossel (kaigossel)
April 21, 2026 07:50
There was a problem hiding this comment.
Pull request overview
Adds telemetry/tracking hooks around the Extension Store iframe lifecycle, routing updates, and checkout flow, including passing version metadata through to analytics.
Changes:
- Injects the extension version into the admin build via Vite
defineand a new global constant. - Introduces a shared telemetry helper and an Extension Store context store to enrich events (e.g., SkyBridge store version).
- Tracks key events in the channel service, purchase confirmation flow, and entry/exit of the Extension Store page; adds
data-analytics-sourceto relevant links.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Resources/app/administration/src/vite.config.ts | Reads root composer.json version and defines __SWAG_EXTENSION_STORE_VERSION__ for runtime telemetry enrichment. |
| src/Resources/app/administration/src/util/telemetry.ts | Adds a telemetry wrapper that attaches default Extension Store metadata to all events. |
| src/Resources/app/administration/src/module/sw-extension-store/store/extension-store-purchase-confirmation.store.ts | Tracks purchase lifecycle events (initiated/confirmed/success/failed/cancelled). |
| src/Resources/app/administration/src/module/sw-extension-store/store/extension-store-context.store.ts | Stores SkyBridge store version for inclusion in telemetry. |
| src/Resources/app/administration/src/module/sw-extension-store/service/extension-store-channel.service.ts | Adds tracking-related channel actions and emits connection + page view telemetry. |
| src/Resources/app/administration/src/module/sw-extension-store/page/sw-extension-store-index/index.js | Tracks entering/leaving the Extension Store page. |
| src/Resources/app/administration/src/module/sw-extension-store/component/...checkout.html.twig | Adds analytics source attribute and adjusts permissions link element type. |
| src/Resources/app/administration/src/module/sw-extension-store/component/...checkout-overview.html.twig | Adds analytics source attribute to external links. |
| src/Resources/app/administration/src/global.types.ts | Declares the global version constant for TS type-checking. |
| src/Resources/app/administration/package.json | Bumps @shopware-ag/meteor-admin-sdk to ^6.8.0. |
| src/Resources/app/administration/package-lock.json | Updates lockfile for the SDK bump and new transitive deps. |
| src/Resources/app/administration/jest.config.js | Adds a Jest global for __SWAG_EXTENSION_STORE_VERSION__. |
Files not reviewed (1)
- src/Resources/app/administration/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Jannik (qysp)
force-pushed
the
task/ECTO-2581
branch
from
April 21, 2026 11:43
6576373 to
3a93784
Compare
Jannik (qysp)
requested review from
Marvin Sibbing (mappinnn)
and removed request for
Kai Gossel (kaigossel)
April 21, 2026 11:44
Jannik (qysp)
force-pushed
the
task/ECTO-2581
branch
from
April 22, 2026 07:05
3a93784 to
4ea374b
Compare
Marvin Sibbing (mappinnn)
approved these changes
Apr 22, 2026
Florian Büscher (FloBWer)
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.