if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "22483",
"name": "Bontrager Velocis Road Cycling Shoe",
"price": "449.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "259.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25000",
"name": "Bontrager XXX Road Cycling Shoes",
"price": "729.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33678",
"name": "Bontrager Solstice Road Cycling Shoes",
"price": "179.99",
"brand": "Bontrager",
"category": "Road 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": "22484",
"name": "Bontrager Velocis Women's Road Cycling Shoe",
"price": "449.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "29082",
"name": "Bontrager XXX LTD Road Cycling Shoes",
"price": "849.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white_purple",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "21719",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "239.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}