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