if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "37292",
"name": "Trek BioDynamic Low Arch Cycling Insoles",
"price": "59.99",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37294",
"name": "Trek BioDynamic High Arch Cycling Insoles",
"price": "59.99",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37293",
"name": "Trek BioDynamic Mid Arch Cycling Insoles",
"price": "59.99",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22475",
"name": "Bontrager inForm BioDynamic Mid Arch Insoles",
"price": "59.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22476",
"name": "Bontrager inForm BioDynamic High Arch Insoles",
"price": "59.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "13040",
"name": "Bontrager inForm BioDynamic Low Arch Insoles",
"price": "59.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}