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