Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41407",
"name": "Conjunto de Pedal Clip Trek Line Elite",
"price": "1220.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41408",
"name": "Conjunto de Pedal Clip Kovee Pro",
"price": "1135.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41405",
"name": "Conjunto de Pedal Clip Trek Line Comp",
"price": "1010.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41404",
"name": "Conjunto de Pedal Clip Kovee Comp",
"price": "765.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22371",
"name": "Conjunto de pedais Bontrager Comp Road",
"price": "620.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}