if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "40193",
"name": "Sonnette de vélo Electra Forward Twister Cactus Flower",
"price": "16.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "redlight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12621",
"name": "Sonnette à capsule Electra",
"price": "9.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14477",
"name": "Sonnette de couleur Electra",
"price": "7.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35932",
"name": "Sonnette de vélo Electra Forward Twister Peace",
"price": "6.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black_white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35933",
"name": "Sonnette de vélo Electra Forward Twister Retro Stripe",
"price": "6.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black_bronze",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34399",
"name": "Sonnet Twister Electra Rosette",
"price": "6.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34405",
"name": "Sonnette de vélo Electra Forward Twister couleur unie",
"price": "6.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}