if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "44958",
"name": "Sacoche Trek Single",
"price": "99.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33174",
"name": "Sacoche double MIK Bontrager Commuter",
"price": "204.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24464",
"name": "Sacoche Bontrager City Shopper",
"price": "159.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33173",
"name": "Sacoche Bontrager Commuter unique",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33594",
"name": "Sacoche double Bontrager Town",
"price": "124.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33593",
"name": "Sacoche unique Bontrager Town",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40324",
"name": "Electra Fern Pannier Bag",
"price": "119.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40323",
"name": "Electra Heather Charcoal Pannier Bag",
"price": "119.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44316",
"name": "Trek Fetch+ 2 Rear Pannier Mounting Kit",
"price": "17.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "44317",
"name": "Trek Fetch+ 2 Front Pannier Mounting Kit",
"price": "7.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}