if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "12286",
"name": "Trek Speed Concept Large Gen 2 Front Brake Cover",
"price": "249.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26591",
"name": "Trek Madone SLR Front Brake Cover",
"price": "234.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22311",
"name": "Trek Speed Concept UCI Legal Rear Brake Cover",
"price": "233.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36982",
"name": "Trek Speed Concept Small Gen 2 Front Brake Cover",
"price": "219.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36981",
"name": "Trek Speed Concept X-Large Gen 2 Front Brake Cover",
"price": "219.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "26183",
"name": "Trek Speed Concept Gen 2 Rear Non-UCI Brake Cover",
"price": "219.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36983",
"name": "Trek Speed Concept X-Small/Medium Gen 2 Front Brake Cover",
"price": "219.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37004",
"name": "Trek Speed Concept X-Large Gen 1 Front Brake Cover",
"price": "219.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "26176",
"name": "Trek Speed Concept Gen 1 Rear Brake Cover",
"price": "219.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37003",
"name": "Trek Speed Concept Large Gen 1 Front Brake Cover",
"price": "219.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37002",
"name": "Trek Speed Concept X-Small/Medium Gen 1 Front Brake Cover",
"price": "219.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "11186",
"name": "Trek Speed Concept Small Gen 1 Front Brake Cover",
"price": "169.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "26170",
"name": "Trek Madone 9 Front Brake Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}