Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

191
Views
¿Cómo debería funcionar la acción de eliminar del carrito de Google Analytics?

En mi proyecto Nuxt.js tengo GA conectado. Tengo un código, que se supone que elimina productos del carrito (es decir, para Google Analytics).

Aquí está:

 await this.$ga.ecommerce.addProduct({ 'id': id, 'name': productName[0].name }); await this.$ga.ecommerce.setAction('remove', { 'list': productName[0].name.split(' ')[0] }); await this.$ga.event({ eventCategory: 'remove from cart', eventAction: 'removeFromCart', eventLabel: 'Product removed to cart', eventValue: 3 })

Este código no funciona, pero tengo otra pregunta. En la página de GA simplemente no hay una sección Removal from Cart , pero hay una implementación de código en la documentación:

ingrese la descripción de la imagen aquí

Entonces, tengo 2 preguntas.

  1. ¿Cómo hacer una función que elimine productos del carrito? (ese código no funciona)
  2. ¿Cómo se verá esto en la página de Google Analytics?
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!