Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "44960",
"name": "Trek Trunk Bag",
"price": "114.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "22738",
"name": "Bontrager MIK Utility Trunk Bag",
"price": "179.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "33172",
"name": "Bontrager MIK Commuter Trunk Bag",
"price": "154.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "24465",
"name": "Bontrager City Trunk Bag",
"price": "134.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "35890",
"name": "Bontrager Commuter Trunk Bag",
"price": "134.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "33777",
"name": "Electra Charcoal Trunk Rear Rack Bag",
"price": "109.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "More Options",
"position": 6
}
,
{
"id": "47640",
"name": "Electra Front Tray / Rear Rack Bag",
"price": "94.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "42179",
"name": "BiKASE Big Daddy 2 Trunk Bag",
"price": "159.99",
"brand": "BiKASE",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "42180",
"name": "BiKASE Big Momma Trunk Bag",
"price": "104.99",
"brand": "BiKASE",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35100",
"name": "Bontrager-Electra MIK Stick",
"price": "10.99",
"brand": "Basil",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}