Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "32738",
"name": "Trek Velocis seleshorts",
"price": "1299.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32742",
"name": "Trek Circuit seleshorts",
"price": "899.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47308",
"name": "Rapha Core Cycling Bib Short",
"price": "1500.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "47310",
"name": "Rapha Core Cargo Cycling Short",
"price": "1400.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "34659",
"name": "Trek Solstice seleshorts",
"price": "699.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32746",
"name": "Trek Solstice sykkelshorts",
"price": "499.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "13446",
"name": "Bontrager Velocis termoseleshorts med inForm",
"price": "1119.3",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "45332",
"name": "Santini Lidl-Trek Replica Race Bib Short",
"price": "1039.2",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 8
}
,
{
"id": "44123",
"name": "Santini Trek-Segafredo Men's Team Replica Bib Short",
"price": "779.4",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 9
}
,
{
"id": "27187",
"name": "Bontrager Adventure Cycling Short",
"price": "259.8",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "grey",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}