Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "23170",
"name": "Bontrager Blendr Circuit Mips Bike Helmet Mount",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "28852",
"name": "Trek/Bontrager WaveCel Bike Helmet Blendr Mount",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "13291",
"name": "Bontrager Blendr Lithos Mips Bike Helmet Mount",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}