Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "32739",
"name": "Trek Velocis seleshorts for dame",
"price": "1299.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32743",
"name": "Trek Circuit seleshorts for dame",
"price": "899.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47311",
"name": "Rapha Women's Core Cargo Cycling Short",
"price": "1400.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32745",
"name": "Trek Circuit sykkelshorts for dame",
"price": "699.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34655",
"name": "Trek Solstice seleshorts for dame",
"price": "699.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32747",
"name": "Trek Solstice sykkelshorts for dame",
"price": "499.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "56746",
"name": "Santini Lidl-Trek Women's Replica Race Short",
"price": "1199.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 7
}
,
{
"id": "45334",
"name": "Santini Lidl-Trek Women's Replica Race Short",
"price": "879.2",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}