if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "30282",
"name": "Electra Men's Union T-Shirt",
"price": "33.99",
"brand": "Electra",
"category": "T-Shirts",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41889",
"name": "Electra Neon Women's T-Shirt",
"price": "24.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41890",
"name": "Electra EBC Speed T-Shirt",
"price": "24.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36758",
"name": "Electra Men's Classic Check T-Shirt",
"price": "24.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30281",
"name": "Electra Ladies' Union T-Shirt",
"price": "9.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36759",
"name": "Electra Men's Crest T-Shirt",
"price": "9.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "bluelight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30277",
"name": "Electra Ladies' 1993 T-Shirt",
"price": "9.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40610",
"name": "Electra Ride Free Sweatshirt",
"price": "54.93",
"brand": "Electra",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}