if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "33004",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "3729.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"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": "36600",
"name": "Kākau Cruiser Go!",
"price": "1699.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "brown",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36415",
"name": "Loft Go! 7D EQ Step-Thru",
"price": "2209.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33465",
"name": "Ghostrider Go!",
"price": "3849.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35411",
"name": "EBC 3000 Sprocket 20"",
"price": "489.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35410",
"name": "Cat's Meow Sprocket 20"",
"price": "489.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35413",
"name": "Super Sprocket 16"",
"price": "459.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35412",
"name": "Tutti Frutti Sprocket 16"",
"price": "459.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}