if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "36025",
"name": "Trek Solstice Mips Bike Helmet",
"price": "54.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34592",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25370",
"name": "Bontrager Charge WaveCel Commuter Helmet",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26787",
"name": "Bontrager XXX WaveCel LTD Cycling Helmet",
"price": "140.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "gold",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "109.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21849",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25364",
"name": "Bontrager Specter WaveCel Cycling Helmet",
"price": "90.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31565",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30482",
"name": "Bontrager Solstice Bike Helmet",
"price": "36.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30467",
"name": "Bontrager Solstice Mips Bike Helmet",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pinklight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33700",
"name": "Electra Go! Mips Bike Helmet",
"price": "99.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pinklight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33698",
"name": "Electra Lifestyle Lux Solid Colour Helmet",
"price": "59.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "greylight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "34333",
"name": "Electra Mountain Sky Lifestyle Lux Bike Helmet",
"price": "59.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "14730",
"name": "Electra Lifestyle Lux Cool Cat Helmet",
"price": "59.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "34244",
"name": "Electra Unicorn Lifestyle Bike Helmet",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "33561",
"name": "Electra Lifestyle Bike Helmet",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35905",
"name": "Electra Miami Lifestyle Helmet",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35904",
"name": "Electra Ziggy Lifestyle Helmet",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}