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": "CATEGORY",
"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": "CATEGORY",
"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": "CATEGORY",
"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": "CATEGORY",
"position": 4
}
,
{
"id": "26121",
"name": "Bontrager Affinity TLR Disc 700c Rim",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34084",
"name": "Bontrager Connection 32H 27.5" MTB Rim",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36076",
"name": "Bontrager Connection 29" MTB Rim",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37978",
"name": "Electra Cruiser Go! 26" Rim",
"price": "85.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}