Oversikt
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "47245",
"name": "Procaliber 9.7 AXS Gen 3",
"price": "55499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 1
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "29999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "24599.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "47829",
"name": "Procaliber C Frameset Gen 3",
"price": "18499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 4
}
,
{
"id": "30181",
"name": "Procaliber SL Frameset Gen 1",
"price": "29099.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "33241",
"name": "Procaliber Frameset Gen 2",
"price": "22399.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white_black",
"list": "More Options",
"position": 6
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "21839.2",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_black",
"list": "More Options",
"position": 7
}
,
{
"id": "41642",
"name": "Procaliber 9.6 Gen 2",
"price": "21799.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"id": "41618",
"name": "Procaliber 8",
"price": "18499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "33258",
"name": "Procaliber 9.5 Gen 2",
"price": "17899.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "More Options",
"position": 10
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "15999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 11
}
,
{
"id": "28693",
"name": "Procaliber AL Frameset",
"price": "8699.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}