if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "44797",
"name": "Trek CarBack Radar Rear Bike Light",
"price": "379.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41448",
"name": "Trek Flare RT Rear Bike Light",
"price": "99.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34037",
"name": "Trek Commuter Pro RT Front Bike Light",
"price": "299.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23999",
"name": "Bontrager Flare RT Rear Bike Light",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34036",
"name": "Trek Commuter Comp R Flare R City Bike Light Set",
"price": "189.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34035",
"name": "Trek Commuter Comp R Front Bike Light",
"price": "129.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41444",
"name": "Trek Ion Pro RT Front Bike Light",
"price": "239.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "27821",
"name": "Bontrager Ion Elite R Front Bike Light",
"price": "199.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30763",
"name": "Bontrager Ion Comp R/Flare R City Bike Light Set",
"price": "229.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30762",
"name": "Bontrager Ion Comp R Front Bike Light",
"price": "169.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41449",
"name": "Trek Ion 200 RT Front Bike Light",
"price": "99.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "14259",
"name": "Bontrager Ion 100 R/Flare R City Bike Light Set",
"price": "114.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "14243",
"name": "Bontrager Ion 100 R Front Bike Light",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "14241",
"name": "Bontrager Flare R City Rear Bike Light",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41443",
"name": "Trek Ion 100 R/Flare R City Bike Light Set",
"price": "114.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "41441",
"name": "Trek Flare R City Rear Bike Light",
"price": "59.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "22466",
"name": "Bontrager Ion Pro RT Front Bike Light",
"price": "249.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "23709",
"name": "Bontrager Ion 200 RT Front Bike Light",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}