Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "38009",
"name": "Trek 2022 Speed Concept TT Basebar",
"price": "7225.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30032",
"name": "Trek TT Mono Ergo Extension",
"price": "1900.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "590.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41168",
"name": "Trek Speed Concept Handlebar Cover Foam",
"price": "80.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41169",
"name": "Trek Speed Concept Handlebar Storage Port Foam",
"price": "75.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "07224",
"name": "Extensão para guidão aerodinâmica para fixar Bontrager Race Lite Aero",
"price": "1175.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}