Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "41406",
"name": "Trek Kovee Elite Clipless Pedal Set",
"price": "169.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41407",
"name": "Trek Line Elite Clipless Pedal Set",
"price": "189.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41408",
"name": "Trek Kovee Pro Clipless Pedal Set",
"price": "219.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41405",
"name": "Trek Line Comp Clipless Pedal Set",
"price": "149.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41404",
"name": "Trek Kovee Comp Clipless Pedal Set",
"price": "119.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "30862",
"name": "Bontrager Elite Road Pedal Set",
"price": "189.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "22371",
"name": "Bontrager Comp Road Pedal Set",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "27134",
"name": "Bontrager MTB Clipless Pedal Cleat Set",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "27132",
"name": "Bontrager Road Clipless 6 Degree Pedal Cleat Set",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "45251",
"name": "Trek SPD Pedal Rebuild Kit",
"price": "54.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}