if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "35213",
"name": "Bali Cruiser Go!",
"price": "19599.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35209",
"name": "Cruiser Go! Step-Thru",
"price": "16999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35208",
"name": "Cruiser Go! Step-Over",
"price": "16999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35211",
"name": "Shibori Cruiser Go!",
"price": "16999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue_white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33463",
"name": "Ghostrider Go! 5i",
"price": "29399.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33179",
"name": "Ace of Spades Go! 5i",
"price": "29399.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}