Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "35601",
"name": "Cruiser 3i Step-Thru",
"price": "739.93",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "redlight",
"list": "More Options",
"position": 1
}
,
{
"id": "35599",
"name": "Cruiser 7D Step-Thru",
"price": "619.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "orangelight",
"list": "More Options",
"position": 2
}
,
{
"id": "35598",
"name": "Cruiser 7D Step-Over",
"price": "619.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "35597",
"name": "Cruiser 1 Step-Thru",
"price": "509.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "pinklight",
"list": "More Options",
"position": 4
}
,
{
"id": "35578",
"name": "Cruiser 1 Step-Over",
"price": "509.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "greendark",
"list": "More Options",
"position": 5
}
,
{
"id": "24579",
"name": "Tandem Super Deluxe 7i",
"price": "2099.99",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "blue_white",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}