Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "36036",
"name": "Trek RSL Knit Road Cycling Shoes",
"price": "637.49",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "35040",
"name": "Trek RSL Road Cycling Shoes",
"price": "509.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "34133",
"name": "Trek Velocis Road Cycling Shoes",
"price": "339.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "45274",
"name": "Trek Circuit Road Cycling Shoes",
"price": "212.49",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "45275",
"name": "Trek Circuit Wide Road Cycling Shoes",
"price": "212.49",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25000",
"name": "Bontrager XXX Road Cycling Shoes",
"price": "359.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "22483",
"name": "Bontrager Velocis Road Cycling Shoe",
"price": "199.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "139.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "33678",
"name": "Bontrager Solstice Road Cycling Shoes",
"price": "99.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}