if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "44151",
"name": "Electra Valve Caps Planets",
"price": "4.93",
"brand": "Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44148",
"name": "Electra Valve Caps Sun Shimmer",
"price": "4.93",
"brand": "Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44150",
"name": "Electra Valve Caps Soft Serve",
"price": "4.93",
"brand": "Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44149",
"name": "Electra Valve Caps Enchanted Jungle",
"price": "4.93",
"brand": "Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "purple",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44152",
"name": "Electra Valve Caps Cyclosaurus",
"price": "4.93",
"brand": "Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "green",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}