if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36987",
"name": "Trek Starvos WaveCel Round Fit Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36034",
"name": "Trek Solstice Mips Youth Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42200",
"name": "Trek Tyro Child Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36035",
"name": "Trek Solstice Mips Youth Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40379",
"name": "Trek Little Dipper Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31559",
"name": "Bontrager Jet WaveCel Youth Bike Helmet",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30489",
"name": "Bontrager Little Dipper Children's Bike Helmet",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36951",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40370",
"name": "Trek Little Dipper Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37087",
"name": "Trek Evoke Youth Mountain Bike Shorts",
"price": "",
"brand": "Trek",
"category": "Kids' bike apparel",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}