Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "29001",
"name": "Electra Townie Go! 8i Centerlock Disc 26'"' Wheel",
"price": "315.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "27388",
"name": "Electra Cruiser Lux 7D 26" Wheel",
"price": "207.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greylight",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}