I am trying to implement GA4 add_to_cart event for e-shop, but product already has same parameters for other services, but they are using different names, can you somehow rename item parameter for GA4?
Or is there some better way for not having duplicate values?
GA4 ecommerce item structure:
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
}
]
My Structure:
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
}
]

