if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "24588",
"name": "Trek Bosch Gen 3 Alloy Chainguard",
"price": "1050.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44932",
"name": "e*Thirteen e*Spec Chainguide for 55mm Chainline for Bosch",
"price": "250.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26161",
"name": "Trek Madone/Émonda SLR Chainkeeper",
"price": "100.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48475",
"name": "Trek 2025 Slash+ Bash Guard & Chain Guide with Motor Mounts",
"price": "65.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34642",
"name": "Trek G3 Motor Mount Chain Guide",
"price": "50.0",
"brand": "Trek",
"category": "Bike chainguards & chain cases",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}