if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "259.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33678",
"name": "Bontrager Solstice Road Cycling Shoes",
"price": "179.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34130",
"name": "Bontrager Foray Mountain Bike Shoes",
"price": "349.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_orangevisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34129",
"name": "Bontrager Evoke Mountain Bike Shoes",
"price": "279.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31571",
"name": "Bontrager SSR Multisport Bike Shoes",
"price": "219.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21719",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "239.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "21729",
"name": "Bontrager Adorn Women's Mountain Shoe",
"price": "219.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "grey_teal",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}