Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "12645",
"name": "Electra Heartchya Hand-Stitched Grip Set",
"price": "38.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "25482",
"name": "Electra Water Lily Hand-Stitched Grip Set",
"price": "38.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "pink",
"list": "More Options",
"position": 2
}
,
{
"id": "29403",
"name": "Electra Townie Kraton Ergo Long & Short Grip Set",
"price": "26.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "29402",
"name": "Electra Townie Kraton Ergo Long Grip Set",
"price": "26.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25480",
"name": "Electra Ergo Short/Long Grip Set",
"price": "19.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "12641",
"name": "Electra Hand-Stitched Long Grip Set",
"price": "17.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}