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