if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "82999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "38999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "259999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35293",
"name": "Checkpoint SLR 6 AXS",
"price": "165999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35294",
"name": "Checkpoint SLR 7",
"price": "163999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35295",
"name": "Checkpoint SLR 7 AXS",
"price": "202999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "99999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}