if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "14508",
"name": "Electra Unicorn Domed Ringer Bike Bell",
"price": "34.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14920",
"name": "Electra Doughnut Ringer Bike Bell",
"price": "34.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "brown_pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12653",
"name": "Electra Bugle Horn",
"price": "29.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13976",
"name": "Bontrager XR1 Comp Kids' Mountain Tyre",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25860",
"name": "Trek Kids MT 200 Seatpost",
"price": "27.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "09955",
"name": "Trek Kids' Brake Levers",
"price": "21.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30976",
"name": "Trek Kids' Twist Shift Grips",
"price": "19.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30975",
"name": "Trek Kids' Single Speed Grips",
"price": "19.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14477",
"name": "Electra Colour Ringer Bike Bell",
"price": "15.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "25874",
"name": "Trek Kids Seatpost Clamp",
"price": "15.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33731",
"name": "Electra Honeycomb Small Strap-Mounted Handlebar Basket",
"price": "79.99",
"brand": "Electra",
"category": "Bike baskets",
"variant": "white",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41994",
"name": "Trek Kids' Center Mount 235mm Kickstand",
"price": "34.99",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "32536",
"name": "Trek Kids' Center Mount 247mm Kickstand",
"price": "34.99",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}