if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "47071",
"name": "Checkpoint SL 5 AXS 3ª Geração",
"price": "29750.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "13000.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "24999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "14999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}