if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "34133",
"name": "Trek Velocis Road Cycling Shoes",
"price": "",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13687",
"name": "Bontrager Woomera Triathlon Shoes",
"price": "",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25000",
"name": "Bontrager XXX Road Cycling Shoes",
"price": "",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22483",
"name": "Bontrager Velocis Road Cycling Shoe",
"price": "",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22484",
"name": "Bontrager Velocis Women's Road Cycling Shoe",
"price": "",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21732",
"name": "Bontrager Hilo Triathlon Shoe",
"price": "",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red_white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "21733",
"name": "Bontrager Lohi Women's Triathlon Shoe",
"price": "",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "13675",
"name": "Bontrager Ballista Road Shoe",
"price": "",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}