if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "37088",
"name": "Trek Avert Mountain Bike Rain Jacket",
"price": "399.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36063",
"name": "Trek Circuit Rain Cycling Jacket",
"price": "329.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36061",
"name": "Trek Circuit Softshell Cycling Jacket",
"price": "269.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36062",
"name": "Trek Circuit Women's Softshell Cycling Jacket",
"price": "269.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36067",
"name": "Trek Circuit Women's Windshell Cycling Jacket",
"price": "229.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36066",
"name": "Trek Circuit Windshell Cycling Jacket",
"price": "229.99",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "179.99",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30938",
"name": "Bontrager Circuit Cycling Rain Jacket",
"price": "249.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14821",
"name": "Bontrager Circuit Cycling Wind Vest",
"price": "129.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "24973",
"name": "Bontrager Circuit Women's Cycling Wind Vest",
"price": "129.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "27591",
"name": "Santini Trek-Segafredo Team Lifestyle Vest",
"price": "299.95",
"brand": "Santini",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "24712",
"name": "Bontrager Velocis Stormshell Cycling Jacket",
"price": "399.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "bluedark",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}