Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "44.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44556",
"name": "Trek Speed Concept Gen 3 Aerobar Replacement Pads",
"price": "17.49",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25847",
"name": "Proteções Almofadadas para o Guiador Aerodinâmico da Speed Concept da Trek",
"price": "10.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14673",
"name": "Conjunto de Suportes Almofadados para Extensores Aerodinâmicos",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25840",
"name": "Bontrager Race X Lite IsoZone Handlebar Pad Kit",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "25841",
"name": "Conjunto de Proteções Almofadadas do Guiador em Gel IsoZone da Bontrager",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "14672",
"name": "Almofadados para Extensores Aerodinâmicos Bontrager",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}