Översikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "41734",
"name": "Trek benvärmare i termomaterial",
"price": "469.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41733",
"name": "Trek knävärmare i termomaterial",
"price": "419.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25032",
"name": "Bontrager Thermal benvärmare",
"price": "399.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25030",
"name": "Bontrager Thermal knävärmare",
"price": "279.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "14772",
"name": "Bontrager Halo Thermal benvärmare",
"price": "210.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "25028",
"name": "Bontrager Thermal armvärmare",
"price": "199.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}