if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "42278",
"name": "Trek Speed Concept SLR Seatmast",
"price": "799.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36135",
"name": "Trek Madone SL Seatmasts",
"price": "699.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26638",
"name": "Trek Madone SLR Seatmasts",
"price": "689.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24997",
"name": "Trek Madone SLR Colour-Matched Carbon Internal Seatmast Cap",
"price": "556.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30477",
"name": "Trek Madone SL Colour-Matched Carbon Internal Seatmast Cap",
"price": "499.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30668",
"name": "Trek Domane SLR Colour-Matched Carbon Internal Seatmast Cap",
"price": "499.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33924",
"name": "Trek Domane SL Color-Matched Carbon Internal Seatmast Cap",
"price": "428.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "47895",
"name": "Trek Checkmate SLR IsoSpeed Tongue",
"price": "399.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "11255",
"name": "Trek Colour-Matched Carbon Seatmast Cap & 7 mm Round Ears",
"price": "299.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34015",
"name": "Trek Colour-Matched Matte Carbon Seat Mast Cap & 7 mm Round Ears",
"price": "299.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "22439",
"name": "Trek Round Alloy Seatmast Cap & 7mm Ears",
"price": "194.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "14365",
"name": "Trek Domane SLR IsoSpeed Seatmast Slider",
"price": "46.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "31851",
"name": "Trek Domane SLR IsoSpeed Seatmast Bumper",
"price": "9.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "27250",
"name": "Trek Round Ultra-light Carbon Seatmast Cap & 10mm Ears",
"price": "399.99",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}