Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41991",
"name": "Trek 2023 Madone SL Replacement Seatmasts",
"price": "2385.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "13438",
"name": "Trek 2021 Procaliber IsoSpeed Hardware Kit",
"price": "505.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "12844",
"name": "Trek Boone IsoSpeed Internal Parts Kit",
"price": "485.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37726",
"name": "Trek 2022 Checkpoint SLR IsoSpeed Hardware",
"price": "275.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36118",
"name": "Trek 2022 Checkpoint SL IsoSpeed Cover",
"price": "240.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "42026",
"name": "Trek Domane MKIV IsoSpeed Hardware Kit",
"price": "230.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "42217",
"name": "Trek 2023 Madone SL6 IsoSpeed Headtube Cover",
"price": "210.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "34767",
"name": "Trek Boone External IsoSpeed Cover",
"price": "180.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "38022",
"name": "Trek 2022 Speed Concept SLR IsoSpeed Grommet",
"price": "105.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "37729",
"name": "Trek Checkpoint SLR IsoSpeed Clip",
"price": "65.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "37728",
"name": "Trek Checkpoint SLR IsoSpeed Grommet",
"price": "55.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "47269",
"name": "Trek Domane ALR IsoSpeed Grommet",
"price": "30.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}