if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "35916",
"name": "Trek 2022 Domane SL 5 Forks",
"price": "988.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35914",
"name": "Trek 2022 Domane SL 7 700c Rigid Fork",
"price": "988.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35915",
"name": "Trek 2022 Domane SL 6 700c Rigid Fork",
"price": "988.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35697",
"name": "Trek 2022 Emonda SL 700c Rigid Forks",
"price": "935.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "11836",
"name": "Trek Kids 24" Suspension Forks",
"price": "312.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "11882",
"name": "Trek Kids 20" Suspension Forks",
"price": "229.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31878",
"name": "SR Suntour XCE 28 Marlin 2019 27.5" Suspension Fork",
"price": "231.99",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31056",
"name": "Fox Racing Shox Remote Fork & Shock Lever",
"price": "159.99",
"brand": "Fox",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}