if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "13000.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "115000.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46692",
"name": "Checkmate SLR 7 AXS",
"price": "79500.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS 3ª Geração",
"price": "29750.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "24999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41587",
"name": "Domane AL 2 4ª Geração",
"price": "8800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "7199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41348",
"name": "Domane SL 5 4ª Geração",
"price": "29500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41607",
"name": "Domane AL 4 4ª Geração",
"price": "13200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36746",
"name": "Domane SL 6 4ª Geração",
"price": "36200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37304",
"name": "Conjunto de quadro Domane RSL 4ª Geração",
"price": "26624.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}