if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41889",
"name": "Electra Neon Women's T-Shirt",
"price": "19.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41890",
"name": "Electra EBC Speed T-Shirt",
"price": "19.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36758",
"name": "Electra Men's Classic Check T-Shirt",
"price": "19.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30281",
"name": "Electra Ladies' Union T-Shirt",
"price": "7.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36759",
"name": "Electra Men's Crest T-Shirt",
"price": "7.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "bluelight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30277",
"name": "Electra Ladies' 1993 T-Shirt",
"price": "7.93",
"brand": "Electra",
"category": "T-Shirts",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}