if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "36951",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "109.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45109",
"name": "Trek Blaze WaveCel Mountain Bike Helmet",
"price": "199.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "grey_bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45106",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "149.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45104",
"name": "Trek Quantum WaveCel Mountain Bike Helmet",
"price": "109.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white_gold",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40250",
"name": "Trek Circuit Wavecel Helmet",
"price": "149.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36948",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "104.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "76.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25367",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "157.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "25361",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "153.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "31565",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "25370",
"name": "Bontrager Charge WaveCel Commuter Helmet",
"price": "127.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "31556",
"name": "Bontrager Jet WaveCel Children's Bike Helmet",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "31559",
"name": "Bontrager Jet WaveCel Youth Bike Helmet",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}