Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

123
Vistas
Is it possible to replace the enhanced ecommerce category in the dataLayer using GTM?

The Enhanced Ecommerce dataLayer sends only the last subcategory to Google Analytics. I've shown which it sends in the first screenshot below

However, I would like the dataLayer to send the full category to Analytics (main category/subcategory etc.). I figured I could somehow use these breadcrumbs 2nd screenshot below.

Those all are list elements in a navigation menu. The list elements don't have an ID or a class, however, the whole menu (navigation) has a class. Is there any way to overwrite the category sent to Analytics with these breadcrumbs?

Here is an example of a dataLayer used:

ecommerce: {
currencyCode: "EUR",
detail: {
  products: [
    {
      name: "Men's waterproof mountain hiking shoes - SALOMON X U" +
            "LTRA 3 GTX",
      id: "8396527",
      reference: "2350488",
      price: "115",
      category: "Mountain Hiking Shoes",
      variant: "272@40, 8396527",
      link: "men-s-waterproof-mountain-hiking-shoes-salomon-x-ult" +
            "ra-3-gtx",
      model_id: "8396527",
      price_tax_exc: "95.04",
      wholesale_price: "0"
    }
  ]
}

},

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda