Översikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "37084",
"name": "Trek Evoke MTB shorts",
"price": "1039.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37085",
"name": "Trek Evoke Women's MTB shorts, dam",
"price": "1039.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37090",
"name": "Troslo undershorts",
"price": "399.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37091",
"name": "Trek Troslo Women's shortsfoder, dam",
"price": "399.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44139",
"name": "Santini Trek Factory Racing Women's CX Team Replica dambibshorts",
"price": "879.0",
"brand": "Santini",
"category": "Mountain bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}