Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "49059",
"name": "Trek FX+ 7 Handlebar/Stem",
"price": "209.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "35019",
"name": "Bontrager RSL MTB Handlebar/Stem",
"price": "494.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "24153",
"name": "Bontrager Line Pro Carbon 35 MTB Handlebar",
"price": "239.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14700",
"name": "Bontrager Kovee Elite 35 MTB Handlebar",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22469",
"name": "Bontrager Kovee XXX Carbon 35 MTB Handlebar",
"price": "239.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "24528",
"name": "Bontrager Comp MTB Handlebar",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "24154",
"name": "Bontrager Line 35 MTB Handlebar",
"price": "109.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "09171",
"name": "Bontrager Satellite Plus IsoZone and inForm Satellite MTB Handlebar System",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "09191",
"name": "Bontrager Crivitz MTB Handlebar",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35282",
"name": "Bontrager Approved 31.8 Matte Alloy MTB Handlebar",
"price": "27.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "25.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}