if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35210",
"name": "Shibori Cruiser Go!",
"price": "1299.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36600",
"name": "Kakau Cruiser Go!",
"price": "1299.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "brown",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35212",
"name": "Bali Cruiser Go!",
"price": "1299.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35207",
"name": "Cruiser Go! Step-Thru",
"price": "1199.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orangelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35206",
"name": "Cruiser Go! Step-Over",
"price": "1199.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33465",
"name": "Ghostrider Go!",
"price": "2899.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}