Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "24968",
"name": "Bontrager Line DH 30 TLR 29" MTB Rim",
"price": "291.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "25381",
"name": "Bontrager Kovee Comp TLR 28 Hole 29" MTB Rim",
"price": "248.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35963",
"name": "Bontrager Line Comp 30 TLR 29" MTB Rim",
"price": "245.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "35962",
"name": "Bontrager Line Comp 30 TLR 27.5" MTB Rim",
"price": "245.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34084",
"name": "Bontrager Connection 32H 27.5" MTB Rim",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "36076",
"name": "Bontrager Connection 29" MTB Rim",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "37978",
"name": "Electra Cruiser Go! 26" Rim",
"price": "85.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "greylight",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}