if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "36036",
"name": "Trek RSL Knit Road Cycling Shoes",
"price": "799.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Trek RSL Road Cycling Shoes",
"price": "699.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Trek Velocis Road Cycling Shoes",
"price": "499.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45274",
"name": "Trek Circuit Road Cycling Shoes",
"price": "299.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45275",
"name": "Trek Circuit Wide Road Cycling Shoes",
"price": "299.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25000",
"name": "Bontrager XXX Road Cycling Shoes",
"price": "729.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22483",
"name": "Bontrager Velocis Road Cycling Shoe",
"price": "449.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22484",
"name": "Bontrager Velocis Women's Road Cycling Shoe",
"price": "449.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "299.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "31571",
"name": "Bontrager SSR Multisport Bike Shoes",
"price": "199.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33678",
"name": "Bontrager Solstice Road Cycling Shoes",
"price": "179.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}