if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "36569",
"name": "Trek Race Crew Merino Wool Cycling Socks",
"price": "27.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47321",
"name": "Rapha Pro Team Cycling Socks",
"price": "33.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46741",
"name": "Santini Lidl-Trek Team Cycling Socks",
"price": "29.99",
"brand": "Santini",
"category": "Men's cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36534",
"name": "Trek Race Crew Cycling Socks",
"price": "24.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47322",
"name": "Rapha Logo Cycling Socks",
"price": "25.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "49368",
"name": "swiftwick ASPIRE SEVEN Socks",
"price": "34.99",
"brand": "Swiftwick",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40650",
"name": "Electra Eclipse Socks",
"price": "29.99",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40653",
"name": "Electra Richie Socks",
"price": "29.99",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40649",
"name": "Electra Banana Dance Socks",
"price": "29.99",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40651",
"name": "Electra Tiki Time Socks",
"price": "19.99",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "reddark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}