Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "41733",
"name": "Trek Thermal Cycling Knee Warmer",
"price": "69.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41731",
"name": "Trek Thermal Cycling Arm Warmer",
"price": "59.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41235",
"name": "Trek UV Sunstop Cycling Arm Cover",
"price": "44.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "25032",
"name": "Bontrager Thermal Cycling Leg Warmer",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25030",
"name": "Bontrager Thermal Cycling Knee Warmer",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25028",
"name": "Bontrager Thermal Cycling Arm Warmer",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
,
{
"id": "22817",
"name": "Bontrager UV Sunstop Cycling Arm Cover",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}