Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "47317",
"name": "Rapha Core Women's Cycling Gilet",
"price": "140.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47318",
"name": "Rapha Brevet Cycling Gilet",
"price": "230.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "More Options",
"position": 2
}
,
{
"id": "47315",
"name": "Rapha Pro Team Lightweight Cycling Gilet",
"price": "195.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "47316",
"name": "Rapha Core Cycling Gilet",
"price": "140.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "blue",
"list": "More Options",
"position": 4
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "94.99",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "14821",
"name": "Bontrager Circuit Cycling Wind Vest",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}