if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "45108",
"name": "Trek Blaze WaveCel Mountain Bike Helmet",
"price": "249.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "grey_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45105",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "159.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45079",
"name": "Trek Quantum WaveCel Mountain Bike Helmet",
"price": "124.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30466",
"name": "Bontrager Solstice Mips Bike Helmet",
"price": "35.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21848",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "85.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30483",
"name": "Bontrager Solstice Bike Helmet",
"price": "25.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40333",
"name": "Fox Racing Speedframe Pro Mips Bike Helmet",
"price": "139.99",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40334",
"name": "Fox Racing Speedframe Mips Bike Helmet",
"price": "99.99",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44253",
"name": "Fox Racing Proframe RS Bike Helmet",
"price": "359.95",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "greenlight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40338",
"name": "Fox Racing Proframe Bike Helmet",
"price": "289.95",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40337",
"name": "Fox Racing Rampage Comp Bike Helmet",
"price": "227.99",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40336",
"name": "Fox Racing Dropframe Bike Helmet",
"price": "134.99",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40339",
"name": "Fox Racing Rampage Bike Helmet",
"price": "134.98",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "44530",
"name": "Fox Racing Flight Mips Bike Helmet",
"price": "50.98",
"brand": "Fox Racing",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36024",
"name": "Trek Solstice Mips Bike Helmet",
"price": "52.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "31399",
"name": "100% Status Youth DH/BMX Bike Helmet",
"price": "175.0",
"brand": "100%",
"category": "Bike helmets",
"variant": "black_white",
"list": "CATEGORY",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}