if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "12734",
"name": "Electra Fatti-O Schrader Valve Bicycle Tubes",
"price": "20.99",
"brand": "Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44151",
"name": "Electra Valve Caps Planets",
"price": "4.93",
"brand": "Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"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": 3
}
,
{
"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": 4
}
,
{
"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": 5
}
,
{
"id": "44152",
"name": "Electra Valve Caps Cyclosaurus",
"price": "4.93",
"brand": "Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "green",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45470",
"name": "Electra Ponto Go! 20" Bicycle Tube",
"price": "23.99",
"brand": "Bontrager-Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}