Yleistä
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37083",
"name": "Trek Evoke Women’s Mountain Bike Tech Tee",
"price": "23.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "More Options",
"position": 1
}
,
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech Tee",
"price": "23.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "45017",
"name": "100% Trek Factory Racing Long Sleeve Airmatic",
"price": "64.99",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "56815",
"name": "Santini Trek Factory Racing Men's Team Replica Cycling Jersey",
"price": "89.99",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "44138",
"name": "Santini Trek Factory Racing Women's CX Team Replica Cycling Jersey",
"price": "71.99",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}