Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "47331",
"name": "Rapha Trail 6 Panel Cap",
"price": "50.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41738",
"name": "Trek Windshell Cycling Balaclava",
"price": "49.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41737",
"name": "Trek Windshell Cycling Cap",
"price": "49.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "47330",
"name": "Rapha Cap II Cycling Cap",
"price": "41.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41739",
"name": "Trek Thermal Cycling Neck Gaiter",
"price": "39.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41736",
"name": "Trek Windshell Cycling Skull Cap",
"price": "39.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41238",
"name": "Trek Cotton Cycling Cap",
"price": "34.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "25037",
"name": "Bontrager Thermal Cycling Cap",
"price": "34.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "41237",
"name": "Trek UV Sunstop Cycling Skull Cap",
"price": "34.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "25036",
"name": "Bontrager Windshell Cycling Skull Cap",
"price": "34.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "25044",
"name": "Bontrager Windshell Cycling Balaclava",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "41735",
"name": "Trek Thermal Cycling Headband",
"price": "29.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "22819",
"name": "Bontrager UV Sunstop Cycling Skull Cap",
"price": "27.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "More Options",
"position": 13
}
,
{
"id": "22822",
"name": "Bontrager Classic Cycling Cap",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "More Options",
"position": 14
}
,
{
"id": "25033",
"name": "Bontrager Thermal Cycling Headband",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}