if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36024",
"name": "Trek Solstice Mips Bike Helmet",
"price": "52.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34591",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31567",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25365",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26785",
"name": "Bontrager XXX WaveCel LTD Road Bike Helmet",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "gold",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25359",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31564",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25368",
"name": "Bontrager Charge WaveCel Commuter Helmet",
"price": "109.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30466",
"name": "Bontrager Solstice Mips Bike Helmet",
"price": "35.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}