if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "37436",
"name": "RideWrap Gloss Covered Frame Protection Kit designed to fit 2020-2022 Trek Supercaliber",
"price": "44.99",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37437",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2020-2022 Trek Supercaliber",
"price": "44.99",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35833",
"name": "RideWrap Essential MTB Matte Frame Protection Kit",
"price": "30.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35735",
"name": "RideWrap Essential MTB Gloss Frame Protection Kit",
"price": "30.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}