if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "24973",
"name": "Bontrager Circuit Women's Cycling Wind Vest",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "teal",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14780",
"name": "Bontrager Circuit Windshell Wind Jacket",
"price": "79.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "21720",
"name": "Bontrager Sonic Women's Road Cycling Shoe",
"price": "139.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "grey_greenvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14973",
"name": "Bontrager Anara Women's Cycling Glove",
"price": "13.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}