Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41416",
"name": "Fita de guiador Trek EcoTack",
"price": "29.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Fita de Guiador de Cortiça com Gel Duplo Bontrager",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Fita de Guiador Bontrager Grippytack",
"price": "10.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "37298",
"name": "Fita de Guiador Bontrager Perf Line ",
"price": "13.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "22698",
"name": "Fita de Guiador Bontrager de Cortiça com Gel Duplo",
"price": "10.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "37297",
"name": "Fita de Guiador Bontrager Supertack",
"price": "17.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "47896",
"name": "Conjunto de Fita de guiador Trek Perf Line",
"price": "26.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "48089",
"name": "Fita de guiador em cortiça com gel duplo",
"price": "19.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "47893",
"name": "Fita de guiador em cortiça com gel Trek",
"price": "17.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "12523",
"name": "Fita do guiador Bontrager Supertack",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}