- Issue created by @Diego_Mow
Hi. I have google_tag + commerce modules installed together, and I notice that this combination already add events to GTM trought gtag function.
How can I add a parameter (like send_to) directly to this object at gtag?
Example of code:
gtag("event", "add_to_cart", {
currency: "EUR",
value: "144.17",
items: [
{
item_name: "Caixa de Copos Cónicos de Papel - 5.000 unidades",
affiliation: "Culligan",
discount: "-26.96",
price: "117.21",
quantity: 2,
item_id: "CL0023905"
}
],
send_to: "G-XPTOWXYZ"
})
Active
2.0
Documentation