Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41409",
"name": "Trek Line Elite Flat Pedal Set",
"price": "49.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "35809",
"name": "Bontrager Line Comp Flat Pedal Set",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "orange",
"list": "More Options",
"position": 2
}
,
{
"id": "41410",
"name": "Trek Line Pro Flat Pedal Set",
"price": "99.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "More Options",
"position": 3
}
,
{
"id": "44426",
"name": "Trek Line Comp Flat Pedal Set",
"price": "29.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "32568",
"name": "VP Components VP-536 Nylon Pedal Set",
"price": "22.49",
"brand": "Trek",
"category": "Bike pedals",
"variant": "teal",
"list": "More Options",
"position": 5
}
,
{
"id": "44499",
"name": "VP Components VP-536 Nylon Polymer Bearing Pedal Set",
"price": "19.99",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "10435",
"name": "Trek Hybrid Pedal Set",
"price": "17.49",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "greylight_black",
"list": "More Options",
"position": 7
}
,
{
"id": "30977",
"name": "Trek Kids' Platform Small Pedal Set",
"price": "15.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "45143",
"name": "Trek Line Pro Pedal Pin Kit",
"price": "9.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 9
}
,
{
"id": "45144",
"name": "Trek Line Elite Pedal Pin Kit",
"price": "9.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "45142",
"name": "Trek Line Pro/Elite Pedal Axle Rebuild Kit",
"price": "8.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 11
}
,
{
"id": "10861",
"name": "Trek Kids Dialed Pedal Set",
"price": "6.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "More Options",
"position": 12
}
,
{
"id": "35291",
"name": "Bontrager City Pedal Set",
"price": "32.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "14345",
"name": "Bontrager Line Pro Pedal Axle Rebuild Kit",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 14
}
,
{
"id": "26735",
"name": "Bontrager Line Pro Pedal Pin Kit",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 15
}
,
{
"id": "29377",
"name": "Electra Grip Tape Pedal Set",
"price": "13.99",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "12666",
"name": "Electra Barefoot Pedal Set",
"price": "12.59",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 17
}
,
{
"id": "12669",
"name": "Electra Deluxe Block Pedal Set",
"price": "12.59",
"brand": "Electra",
"category": "Bike pedals",
"variant": "grey_black",
"list": "More Options",
"position": 18
}
]
}
});
} else {
console.log("dataLayer");
}