Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41733",
"name": "Trek Thermal Cycling Knee Warmer",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41236",
"name": "Trek UV Sunstop Cycling Leg Cover",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "41734",
"name": "Trek Thermal Cycling Leg Warmer",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41235",
"name": "Trek UV Sunstop Cycling Arm Cover",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}