if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36009",
"name": "Rétroviseur pour embout de cintre Electra Retrostripe",
"price": "39.99",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22231",
"name": "Tiger Eye Bike Mirrors Helmet Mount Mirror",
"price": "32.99",
"brand": "Tiger Eye Bike Mirrors",
"category": "Bike mirrors",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36007",
"name": "Rétroviseur sur embout de cintre Electra Ziggy",
"price": "29.93",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30684",
"name": "Rétroviseur d’extrémité de cintre Electra",
"price": "29.93",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "pinklight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36008",
"name": "Rétroviseur sur embout de cintre Electra Sun Rays",
"price": "29.93",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "tan_yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36006",
"name": "Rétroviseur embout de cintre Electra Gnome",
"price": "29.93",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "12663",
"name": "Rétroviseur sur cintre pour cruiser Electra",
"price": "19.99",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "21642",
"name": "Electra Swirl Cruiser Handlebar Mirror",
"price": "6.93",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}