if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "48902",
"name": "Trek Ergonomic Pro MTB-handtag, par",
"price": "349.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48832",
"name": "Trek Line Pro MTB handtagspar",
"price": "349.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48831",
"name": "Trek Line Elite MTB-handtag, par",
"price": "299.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48901",
"name": "Trek Ergonomic Comp MTB-handtag, par",
"price": "179.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48830",
"name": "Trek Line Comp MTB-handtag, par",
"price": "179.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}