Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "49059",
"name": "Trek FX+ 7 Handlebar/Stem",
"price": "",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "35019",
"name": "Bontrager RSL MTB Handlebar/Stem",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "09191",
"name": "Bontrager Crivitz MTB Handlebar",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "35282",
"name": "Bontrager Approved 31.8 Matte Alloy MTB Handlebar",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}