Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "35019",
"name": "Bontrager RSL MTB Handlebar/Stem",
"price": "699.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "24153",
"name": "Bontrager Line Pro Carbon 35 MTB Handlebar",
"price": "299.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "24528",
"name": "Bontrager Comp 31.8 MTB Handlebars",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "09191",
"name": "Bontrager Crivitz MTB Handlebar",
"price": "172.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "24154",
"name": "Bontrager Line 35 MTB Handlebar",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "45.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "35282",
"name": "Bontrager Approved 31.8 Matte Alloy MTB Handlebar",
"price": "45.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}