if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "07271",
"name": "Balero E2 inferior de tazas de dirección de Trek 36 grados",
"price": "49.99",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26272",
"name": "Balero del juego de dirección superior Trek Madone serie 9",
"price": "49.0",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12223",
"name": "Trek Speed Concept Upper Headset Bearing",
"price": "39.99",
"brand": "Trek",
"category": "Bearings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26270",
"name": "Balero E2 FSA inferior de juego de dirección de Trek 36 grados",
"price": "27.99",
"brand": "Trek",
"category": "Bearings",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28924",
"name": "FSA 1-1/8" Upper Headset Bearing",
"price": "12.99",
"brand": "Trek",
"category": "Bearings",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28146",
"name": "Bontrager 6000 LLB Replacement Hub Bearing",
"price": "8.0",
"brand": "Bontrager",
"category": "Bearings",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}