if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37437",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2020-2022 Trek Supercaliber",
"price": "50.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35833",
"name": "RideWrap Essential MTB Matte Frame Protection Kit",
"price": "35.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35735",
"name": "RideWrap Essential MTB Gloss Frame Protection Kit",
"price": "35.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37438",
"name": "RideWrap Gloss Covered Frame Protection Kit designed to fit 2020-2021 Trek Top Fuel",
"price": "25.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35835",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2019-2021 Trek Remedy",
"price": "25.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35737",
"name": "RideWrap Gloss Covered Frame Protection Kit designed to fit 2019-2021 Trek Remedy",
"price": "25.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37439",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2020-2021 Trek Top Fuel",
"price": "25.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "28432",
"name": "Fisher Superfly 29 Downtube Guard",
"price": "9.99",
"brand": "Gary Fisher",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "28420",
"name": "Fisher Superfly 29 Chainstay Guard",
"price": "9.99",
"brand": "Gary Fisher",
"category": "Bike frame protection",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}