if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36266",
"name": "Precaliber 16",
"price": "389.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36605",
"name": "Sprocket 1 16"",
"price": "499.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "yellow",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35412",
"name": "Tutti Frutti Sprocket 16"",
"price": "459.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35413",
"name": "Super Sprocket 16"",
"price": "459.99",
"brand": "Electra",
"category": "Electra kids' bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}