Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "34651",
"name": "Trek Circuit Cycling Jersey",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "34650",
"name": "Trek Circuit LTD Cycling Jersey",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "More Options",
"position": 2
}
,
{
"id": "47295",
"name": "Rapha Core Cycling Jersey",
"price": "140.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "37365",
"name": "Trek Circuit Thermal Long Sleeve Cycling Jersey",
"price": "109.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "36068",
"name": "Trek Circuit LTD Long Sleeve Cycling Jersey",
"price": "89.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "reddark_bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "47339",
"name": "Rapha Brevet Long Sleeve Men's Jersey",
"price": "335.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 6
}
,
{
"id": "47299",
"name": "Rapha Brevet Cycling Jersey",
"price": "270.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 7
}
,
{
"id": "47291",
"name": "Rapha Pro Team Training Cycling Jersey",
"price": "195.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "47343",
"name": "Rapha Pro Team Long Sleeve Thermal Jersey",
"price": "191.75",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "purpledark",
"list": "More Options",
"position": 9
}
,
{
"id": "47348",
"name": "Rapha Pro Team Lightweight Cycling Jersey",
"price": "150.5",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "blue_bluelight",
"list": "More Options",
"position": 10
}
,
{
"id": "47297",
"name": "Rapha Core Long Sleeve Cycling Jersey",
"price": "108.5",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "greendark",
"list": "More Options",
"position": 11
}
,
{
"id": "34653",
"name": "Trek Solstice Cycling Jersey",
"price": "79.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}