We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nos eventos de ViewContent e AddToCart não recebo pelo datalayer o parâmetro de quantity. Em ViewContent estou usando quantity: 1 (estático), e no AddToCart pelo querySelector, que aparentemente está funcionando. Plataforma Magazord. Site: https://www.arandustore.com.br/ Datalayer nesses eventos: { PageType: "ProductPage", sku: "BBB-Bordo", name: "Bermuda Lisa Valência", variant: "Bordô", skuGroup: "BBB", price: 26.9, event: "view_item", gtm: {uniqueEventId: 4, start: 1712841406993}, eventModel: { items: [ { id: "BBB", name: "Bermuda Lisa Valência", category: "Bermudas,Masculina", brand: "Arandu", variant: "Bordô", price: 26.9 } ] } }
Variável que estou utilizando: function () { var id = {{dlv - eventModel.items.0.id}}; var quantity = {{jsc - quantity}};
var contents = { id: id, quantity: quantity }; return [contents];
}
** quantity: function () { var quantity = document.querySelector("#prod-qtde").value return quantity }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Nos eventos de ViewContent e AddToCart não recebo pelo datalayer o parâmetro de quantity.
Em ViewContent estou usando quantity: 1 (estático), e no AddToCart pelo querySelector, que aparentemente está funcionando.
Plataforma Magazord. Site: https://www.arandustore.com.br/
Datalayer nesses eventos: {
PageType: "ProductPage",
sku: "BBB-Bordo",
name: "Bermuda Lisa Valência",
variant: "Bordô",
skuGroup: "BBB",
price: 26.9,
event: "view_item",
gtm: {uniqueEventId: 4, start: 1712841406993},
eventModel: {
items: [
{
id: "BBB",
name: "Bermuda Lisa Valência",
category: "Bermudas,Masculina",
brand: "Arandu",
variant: "Bordô",
price: 26.9
}
]
}
}
Variável que estou utilizando:
function () {
var id = {{dlv - eventModel.items.0.id}};
var quantity = {{jsc - quantity}};
}
** quantity:
function () {
var quantity = document.querySelector("#prod-qtde").value
return quantity
}
The text was updated successfully, but these errors were encountered: