Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "28791",
"name": "Bontrager XXX WaveCel Trek-Segafredo Decals",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black_white",
"list": "More Options",
"position": 1
}
,
{
"id": "09577",
"name": "Bontrager Public Safety Services Helmet Stickers",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}