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

Product Decisions This Supports

  • Feature scoping: analytics instrumentation for storefront. The bundle's job is narrow and concrete — it injects Google Analytics Enhanced E-Commerce dataLayer payloads (product impressions, product detail views, add-to-cart, checkout funnel steps, transactions) into Sylius storefront pages via Twig templates and event listeners. That maps directly to an "instrument the purchase funnel" epic rather than a vague "add analytics" line item.
  • Build vs. buy (vs. fork). This is the decision the package is actually useful for. It is a reference implementation, not a viable long-term dependency: MIT-licensed, 20 stars, 0 dependents, and a last release of 2016-12-29. The realistic options it supports evaluating are (a) adopt, (b) fork-and-own, (c) build a thin in-house tracking layer, (d) buy a maintained tag-management/CDP solution.
  • Defining the analytics event taxonomy. Even if we never install it, the bundle encodes a defensible schema: which Sylius domain objects (Product, Variant, Order, OrderItem, Cart) map to which GA ecommerce fields (id, name, category, brand, variant, price, quantity, list, position, step). That is reusable as an internal data contract for any analytics vendor, including GA4.
  • Legacy/migration audits. Useful when scoping work on an existing Sylius storefront: it tells us roughly how much of the funnel is already instrumented and what a parity migration (UA → GA4) would need to cover.
  • Roadmap go/no-go on an analytics vendor. It gives a concrete baseline of "what server-side tracking gets us" so we can judge whether a client-side GTM container alone suffices.
  • Stack-fit validation. Important caveat for planning: this is a Sylius/Symfony bundle, not Laravel. It does not belong on a Laravel roadmap slide. It is only relevant if our commerce platform is Sylius.

When to Consider This Package

Consider it when:

  • You are running a legacy Sylius storefront (Symfony 2.x/3.x era, roughly Sylius 0.x–1.2) and still need Universal Analytics / Enhanced E-Commerce dataLayer output, e.g. during a transition period or for a historical reporting contract.
  • You want a readable, small-surface-area reference for how Sylius order/cart/product entities translate into GA ecommerce payloads before writing your own.
  • You are prepared to fork it into a private repo and own it — treating it as source material, not a dependency.

Look elsewhere (or build) when:

  • You are targeting Google Analytics 4. Enhanced E-Commerce via dataLayer is not the GA4 model (GA4 uses its own purchase, add_to_cart, view_item, begin_checkout event schema). This bundle predates GA4 by years and does not address it.
  • You are on modern Sylius (1.10+), Symfony 5/6/7, or PHP 8. A 2016 bundle will not have compatible service definitions, DI config, or type safety, and there is no CI to tell you otherwise.
  • You need maintenance guarantees, security updates, or vendor support. Signals are all negative: 20 stars, 0 dependents, single-maintainer bus factor, no release in ~9 years. A 0.44 health score is consistent with "archive it."
  • You need consent management / GDPR-compliant gating, server-side tagging, or a customer data platform — none of that is in scope here.
  • Your stack is Laravel. Stop; this package is irrelevant to that stack.

How to Pitch It (Stakeholders)

For executives (30-second version): This is a small, MIT-licensed plugin that connects a Sylius storefront to Google Analytics e-commerce reporting — cart adds, checkout steps, and purchases show up as funnel data. The upside is that it is free and does one thing clearly. The downside is decisive: it has not been released since December 2016, has a handful of stars, no downstream dependents, and targets a Google Analytics model (Universal Analytics Enhanced E-Commerce) that Google has since superseded with GA4. Recommendation: do not adopt it as a dependency. Budget a short spike to mine it for its event taxonomy, then build a thin, maintained in-house tracking layer (or use Google Tag Manager) sized at roughly one sprint. That gets us the funnel visibility without inheriting nine-year-old code as a production liability.

For engineering:

  • Scope: Symfony bundle; Twig-level dataLayer injection plus listeners on Sylius cart/order/checkout flows. Small, single-purpose, readable.
  • It is a spec, not a dependency: extract field mappings and event names, discard the wiring.
  • Known friction on adoption: pre-Flex Symfony DI configuration, no PHP 8 type declarations, no tests or CI, no declared compatibility with current Sylius resource/order state machines. Any integration work is effectively a rewrite.
  • Ask: 3–5 day spike to (1) validate the event mapping against our catalog/order model, (2) produce a GA4-aligned event spec, (3) estimate the in-house implementation. Success = a signed-off event taxonomy, not a merged PR.
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