Yleistä
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36135",
"name": "Trek Madone SL Seatmasts",
"price": "509.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_black",
"list": "More Options",
"position": 1
}
,
{
"id": "24997",
"name": "Trek Madone SLR Color-Matched Carbon Internal Seatmast Cap",
"price": "349.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "30477",
"name": "Trek Madone SL Color-Matched Carbon Internal Seatmast Cap",
"price": "299.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "blue",
"list": "More Options",
"position": 3
}
,
{
"id": "30668",
"name": "Trek Domane SLR Color-Matched Carbon Internal Seatmast Cap",
"price": "239.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "11255",
"name": "Trek Color-Matched Carbon Seatmast Cap & 7mm Round Ears",
"price": "159.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "26638",
"name": "Trek Madone SLR Seatmasts",
"price": "149.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_greydark",
"list": "More Options",
"position": 6
}
,
{
"id": "34015",
"name": "Trek Color-Matched Matte Carbon Seat Mast Cap & 7 mm Rd Ears",
"price": "109.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22439",
"name": "Trek Round Alloy Seatmast Cap & 7mm Ears",
"price": "89.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "14365",
"name": "Trek Domane SLR IsoSpeed Seatmast Slider",
"price": "14.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "31851",
"name": "Trek Domane SLR IsoSpeed Seatmast Bumper",
"price": "2.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "27250",
"name": "Trek Round Ultra-light Carbon Seatmast Cap & 10mm Ears",
"price": "199.99",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}