if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "47199",
"name": "Trek Touch-up Paint - Matte Orange Color Collection",
"price": "24.99",
"brand": "Trek-Diamant",
"category": "Touch-up paint",
"variant": "",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40714",
"name": "Trek Touch-up Paint - Gloss Clearcoat",
"price": "24.99",
"brand": "Trek-Diamant",
"category": "Touch-up paint",
"variant": "",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37839",
"name": "Trek Touch-up Paint - Gloss Blue Color Collection",
"price": "24.99",
"brand": "Trek-Diamant",
"category": "Touch-up paint",
"variant": "",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}