Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sylius Google Ecommerce Bundle Laravel Package

webburza/sylius-google-ecommerce-bundle

Integrates Google Analytics Enhanced Ecommerce with Sylius, automatically tracking product impressions, detail views, cart additions and removals, checkout steps, and purchases so you can analyze shopping behavior and conversions without writing custom tracking code.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Poor for a Laravel estate. webburza/sylius-google-ecommerce-bundle is a Sylius/Symfony bundle, not a Laravel package. It assumes Sylius resource configuration, Twig templates, Symfony event listeners, and service-container wiring. It cannot be dropped into Laravel without substantial reimplementation. Even within Sylius, the bundle targets the 2016-era stack and Universal Analytics Enhanced Ecommerce, not modern Sylius or GA4.

Integration feasibility: Low. The package has 20 stars, zero dependents, and no release since 2016-12-29. It likely depends on PHP 5/7-era constraints and Symfony 2/3-era APIs. A modern Sylius application will almost certainly face Composer conflicts, deprecated Twig hooks, and incompatible service definitions. The practical integration path is to use the repository as a reference implementation for dataLayer events, not as a production dependency.

Technical risk: High. Universal Analytics stopped processing standard hits in 2023, so the package’s core output model is obsolete. Enhanced Ecommerce’s measurement model has been replaced by GA4 events and recommended schema. The bundle predates GDPR/CCPA consent-mode expectations, modern CSP/ad-blocker realities, and server-side tagging. Abandonment means no security patches, no compatibility fixes, and no vendor support. The score of 0.44 is consistent with a legacy artifact rather than an adoptable component.

Key questions:

  • Is the target platform actually Sylius, or is this being evaluated for Laravel? If Laravel, reject as a direct dependency.
  • Which Sylius/PHP/Symfony versions are in scope, and is PHP 8.x required?
  • Is the analytics target GA4, server-side GTM, or a warehouse/event pipeline? The bundle only addresses UA-era Enhanced Ecommerce.
  • What consent-management, data-minimization, and PII constraints apply?
  • Is the business willing to own a fork, or should the team implement tracking directly against GA4/GTM?
  • What event coverage is required: impressions, product detail, add/remove cart, checkout steps, purchase, refunds, promotions?

Integration Approach

Stack fit: If the organization is on Laravel, there is no stack fit. The correct approach is to implement GA4/GTM dataLayer events in the Laravel storefront using Blade/Livewire/Inertia hooks or a maintained analytics package. If the organization is on legacy Sylius, the bundle may still be incompatible; a compatibility spike is required before any commitment.

Migration path: Do not install the bundle as-is. Treat it as a design reference: extract the intended event names, payload shapes, and Twig placement patterns, then rebuild them against GA4’s recommended ecommerce schema and the current Sylius frontend architecture. If a legacy Sylius site must retain behavior temporarily, fork the bundle under an internal namespace, pin PHP/Symfony constraints, and isolate it behind a feature flag.

Compatibility: Expect friction at the Composer, Symfony kernel, Twig, and Sylius resource layers. Modern Sylius uses different template events, service configuration, and frontend tooling. GA4 also changes event semantics: purchase with items, view_item, add_to_cart, begin_checkout, and so on, rather than UA’s ecommerce dataLayer object. Any migration must include consent gating and deduplication.

Sequencing:

  1. Confirm platform and version matrix; if Laravel, stop and select a GA4/GTM implementation pattern.
  2. Run a one-day compatibility spike in a disposable Sylius branch to quantify dependency conflicts.
  3. Define the event taxonomy and data contract against GA4, including consent and PII rules.
  4. Prototype one event end-to-end in GTM preview/debug mode.
  5. Implement remaining events behind flags, validate with analytics QA, then retire or archive the legacy bundle.

Operational Impact

Maintenance: High if adopted. The package is unmaintained, has no dependents, and has not shipped since 2016. Every Sylius, Symfony, PHP, or browser/privacy change becomes an internal fork obligation. The team would own security review, dependency updates, template compatibility, and analytics schema changes.

Support: Effectively none. There is no vendor, active maintainer community, or release cadence to rely on. Internal support requires Sylius/Symfony and GA4 expertise. A small star count and zero dependents reduce the chance of community fixes.

Scaling: Client-side tracking scale is generally not the constraint; event volume, GTM container complexity, consent enforcement, and data quality are. The bundle does not address server-side tagging, high-volume checkout events, or ad-blocker loss. GA4’s event model may increase payload complexity and require careful sampling/threshold planning in reporting.

Failure modes: Silent tracking loss after UA sunset; duplicate or missing purchase events; incorrect currency/value mapping; checkout-step mismatches; consent bypass; CSP or ad-blocker suppression; Twig override conflicts after Sylius upgrades; Composer resolution failures; and inaccurate attribution from missing items or transaction_id fields. In a Laravel context, the primary failure mode is architectural: attempting to force a Symfony/Sylius bundle into a framework it was never designed for.

Ramp-up: Moderate to high. Engineers need Sylius/Symfony bundle knowledge to evaluate the legacy code, plus GA4/GTM measurement expertise to modernize the event model. Product and analytics stakeholders must agree on event taxonomy, consent behavior, and success metrics before implementation. Given the abandonment and stack mismatch, the recommended TPM decision is not to adopt the package for new work; use it only as historical reference and invest in a maintained GA4/GTM integration or a small internal implementation.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle