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": "CATEGORY",
"position": 1
}
,
{
"id": "41738",
"name": "Trek Windshell Cycling Balaclava",
"price": "42.49",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41737",
"name": "Trek Windshell Cycling Cap",
"price": "42.49",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47330",
"name": "Rapha Cycling Cap II",
"price": "41.0",
"brand": "Rapha",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22819",
"name": "Bontrager UV Sunstop Cycling Skull Cap",
"price": "34.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25037",
"name": "Bontrager Thermal Cycling Cap",
"price": "34.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25036",
"name": "Bontrager Windshell Cycling Skull Cap",
"price": "34.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41736",
"name": "Trek Windshell Cycling Skull Cap",
"price": "33.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41739",
"name": "Trek Thermal Cycling Neck Gaiter",
"price": "33.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "22822",
"name": "Bontrager Classic Cycling Cap",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "25044",
"name": "Bontrager Windshell Cycling Balaclava",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41238",
"name": "Trek Cotton Cycling Cap",
"price": "29.74",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41237",
"name": "Trek UV Sunstop Cycling Skull Cap",
"price": "29.74",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41735",
"name": "Trek Thermal Cycling Headband",
"price": "25.49",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "25033",
"name": "Bontrager Thermal Cycling Headband",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}