if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "42200",
"name": "Trek Tyro Child Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31559",
"name": "Bontrager Jet WaveCel Youth Bike Helmet",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40370",
"name": "Trek Little Dipper Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36952",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42203",
"name": "Trek Tyro Youth Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34609",
"name": "Trek Solstice Mips Children's Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34612",
"name": "Trek Solstice Mips Children's Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36986",
"name": "Trek Starvos WaveCel Asia Fit Bike Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30489",
"name": "Bontrager Little Dipper Children's Bike Helmet",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36951",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"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");
}