Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "650.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "37298",
"name": "Bontrager Perf Line Handlebar Tape Set",
"price": "700.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "bluelight_black",
"list": "More Options",
"position": 2
}
,
{
"id": "37297",
"name": "Bontrager Supertack Handlebar Tape Set",
"price": "700.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "28485",
"name": "Bontrager Perf Line Bar Tape",
"price": "700.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}