if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "12765",
"name": "Electra Amsterdam Handlebar",
"price": "48.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44808",
"name": "Electra Ponto Go! Handlebar",
"price": "47.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32443",
"name": "Cintre Electra Attitude Cruiser",
"price": "41.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31774",
"name": "Electra Townie Original Handlebar",
"price": "41.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13993",
"name": "Cintre Electra Ape Hanger Cruiser",
"price": "39.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36170",
"name": "Cintre sablé Electra Vale",
"price": "35.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36737",
"name": "Cintre sablé Electra Townie",
"price": "35.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "13994",
"name": "Cintre pour cruiser Electra Mini Ape Hanger Cruiser",
"price": "32.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32444",
"name": "Cintre Electra Café Cruiser",
"price": "31.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "12646",
"name": "Cintre Electra Café Cruiser",
"price": "26.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}