Estoy tratando de implementar el evento GA4 add_to_cart para la tienda electrónica, pero el producto ya tiene los mismos parámetros para otros servicios, pero están usando nombres diferentes, ¿puede cambiar el nombre del parámetro del artículo para GA4?
¿O hay alguna forma mejor de no tener valores duplicados?
Estructura de artículos de comercio electrónico GA4:
items: [ { item_id: "SKU_12345", item_name: "Stan and Friends Tee", affiliation: "Google Merchandise Store", currency: "USD", item_brand: "Google", item_category: "Apparel", price: 9.99, quantity: 1 } ]Mi estructura:
items: [ { id: "SKU_12345", name: "Stan and Friends Tee", brand: "Google", category: "Apparel", item_id: "SKU_12345", item_name: "Stan and Friends Tee", item_brand: "Google", affiliation: "Google Merchandise Store", currency: "USD", price: 9.99, quantity: 1 } ]Creo que puedes crear una variable de JavaScript personalizada en tu GTM. 
Aquí está el código
function(){ var yourItem = {{DLV-items}} var ga4Item = yourItem.map(function(o){ return { item_id: o.id, item_name: o.name, affiliation:o.affiliation, currency: o.currency, item_brand: o.item_brand, item_category: o.category, price: o.price, quantity: o.quantity } }) return ga4Item; }Y el resultado en la vista previa de GTM será
El azul es tu artículo original. El rojo es el elemento modificado que puedes usar en GA4