if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41734",
"name": "Trek Thermal Cycling Leg Warmer",
"price": "74.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41733",
"name": "Trek Thermal Cycling Knee Warmer",
"price": "69.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41236",
"name": "Trek UV Sunstop Cycling Leg Cover",
"price": "69.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41731",
"name": "Trek Thermal Cycling Arm Warmer",
"price": "54.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41235",
"name": "Trek UV Sunstop Cycling Arm Cover",
"price": "49.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25032",
"name": "Bontrager Thermal Cycling Leg Warmer",
"price": "74.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25030",
"name": "Bontrager Thermal Cycling Knee Warmer",
"price": "64.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25028",
"name": "Bontrager Thermal Cycling Arm Warmer",
"price": "54.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "22818",
"name": "Bontrager UV Sunstop Cycling Leg Cover",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "22817",
"name": "Bontrager UV Sunstop Cycling Arm Cover",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "12005",
"name": "Bontrager Visibility Thermal Arm Warmer",
"price": "24.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}