if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37123",
"name": "Trek Ballista Mips Road Bike Helmet",
"price": "399.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34588",
"name": "Trek Velocis Mips Road Bike Helmet",
"price": "339.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40249",
"name": "Trek Circuit WaveCel Helmet",
"price": "214.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36952",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "139.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36987",
"name": "Trek Starvos WaveCel Round Fit Bike Helmet",
"price": "139.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36024",
"name": "Trek Solstice Mips Bike Helmet",
"price": "69.93",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25365",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "199.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "26785",
"name": "Bontrager XXX WaveCel LTD Road Bike Helmet",
"price": "199.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "gold",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14897",
"name": "Bontrager Velocis Mips Road Bike Helmet",
"price": "194.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34591",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "159.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "21848",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "114.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "31567",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "30466",
"name": "Bontrager Solstice Mips Bike Helmet",
"price": "47.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "30483",
"name": "Bontrager Solstice Bike Helmet",
"price": "34.93",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}