if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "37420",
"name": "Madone SLR 9 AXS 7ª Geração",
"price": "113999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37419",
"name": "Madone SLR 9 7ª Geração",
"price": "107999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37418",
"name": "Madone SLR 7 AXS 7ª Geração",
"price": "81999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37025",
"name": "Madone SLR 7 7ª Geração",
"price": "75999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37417",
"name": "Madone SLR 6 AXS 7ª Geração",
"price": "70499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41467",
"name": "Madone SL 7 7ª Geração",
"price": "61299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS 6ª Geração",
"price": "45974.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41466",
"name": "Madone SL 6 7ª Geração",
"price": "44999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36959",
"name": "Madone SL 6 Di2 6ª Geração",
"price": "36125.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35084",
"name": "Conjunto de quadro e garfo para disco Madone SL 6ª Geração",
"price": "11499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}