if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "21832",
"name": "Juego de salpicaderas Bontrager NCS",
"price": "94.99",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14743",
"name": "Electra Townie GO! 8i Fender Set",
"price": "100.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22065",
"name": "Electra Loft GO! Fender Set",
"price": "99.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35227",
"name": "Trek 2021 Powerfly FS Rack & Fender Hardware Kit",
"price": "9.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}