Yleistä
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34651",
"name": "Trek Circuit Cycling Jersey",
"price": "64.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "34650",
"name": "Trek Circuit LTD Cycling Jersey",
"price": "64.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "More Options",
"position": 2
}
,
{
"id": "47295",
"name": "Rapha Core Cycling Jersey",
"price": "93.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "37365",
"name": "Trek Circuit Thermal Long Sleeve Cycling Jersey",
"price": "84.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "36068",
"name": "Trek Circuit LTD Long Sleeve Cycling Jersey",
"price": "55.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "reddark_bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "48607",
"name": "Rapha Core Thermal Long Sleeve Cycling Jersey",
"price": "115.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "tan",
"list": "More Options",
"position": 6
}
,
{
"id": "47293",
"name": "Rapha Core Lightweight Cycling Jersey",
"price": "93.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pink",
"list": "More Options",
"position": 7
}
,
{
"id": "34653",
"name": "Trek Solstice Cycling Jersey",
"price": "32.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 8
}
,
{
"id": "56741",
"name": "Santini Lidl-Trek RSL Team Jersey",
"price": "129.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 9
}
,
{
"id": "56807",
"name": "Santini Lidl-Trek Team Replica LS Thermal Race Jersey",
"price": "109.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 10
}
,
{
"id": "56743",
"name": "Santini Lidl-Trek Replica Race Jersey",
"price": "89.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 11
}
,
{
"id": "44126",
"name": "Santini Trek-Segafredo Men's Replica Thermal LS Jersey",
"price": "74.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_red",
"list": "More Options",
"position": 12
}
,
{
"id": "45331",
"name": "Santini Lidl-Trek Replica Race Jersey",
"price": "71.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}