[ad_1]
Hi,
I was testing and saw that in the add_shipping_info and add_payment_info ecommerce.items is not an array of dictionaries, but a dictionary of dictionaries.
{
event: "add_shipping_info",
gtm: {XXXXXXXXXXXX
},
ecommerce: {
currency: "BRL",
value: "206",
shippingTier: "1",
items: <span style="text-decoration: underline;">{
0: {</span>
id: "2441",
item_id: "2441",
item_name: "Com Você",
currency: "BRL",
price: 89,
google_business_vertical: "retail",
item_category: "Para casa",
item_category2: "quadro",
item_variant: "com-moldura-pinus-a4",
quantity: 2
}<span style="text-decoration: underline;">,
1: {</span>
id: "2439",
item_id: "2439",
item_name: "Sentido Faz",
currency: "BRL",
price: 28,
google_business_vertical: "retail",
item_category: "Para casa",
item_category2: "quadro",
item_variant: "print-a4-21-x-297cm",
quantity: 1
}
}
}
}In my plugin config I’m using:
When a shipment method is selected with fallback to the ‘Place order’ button.
and
When a payment method is selected with fallback to the ‘Place order’ button.
Maybe it is related to this options.
Best regards, Diego.
