Yleistä
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "14896",
"name": "Bontrager Velocis Mips Road Helmet",
"price": "175.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44123",
"name": "Santini Trek-Segafredo Men’s Team Replica Bib Short",
"price": "71.99",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 2
}
,
{
"id": "44126",
"name": "Santini Trek-Segafredo Men's Replica Thermal LS Jersey",
"price": "59.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_red",
"list": "More Options",
"position": 3
}
,
{
"id": "40152",
"name": "Santini Trek-Segafredo Men’s Team Polo",
"price": "27.5",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "22476",
"name": "Bontrager inForm BioDynamics High Arch Insoles",
"price": "20.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "13040",
"name": "Bontrager inForm BioDynamics Low Arch Insoles",
"price": "20.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "37586",
"name": "Santini Trek-Segafredo Men’s Team Cycling Sock",
"price": "11.99",
"brand": "Santini",
"category": "Cycling socks",
"variant": "white_red",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}