Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "ZAR",
"impressions": [
{
"id": "44693",
"name": "e*Thirteen e*spec Race Carbon Crank for TQ",
"price": "6400.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "greydark",
"list": "More Options",
"position": 1
}
,
{
"id": "44931",
"name": "e*Thirteen e*spec Plus Aluminum Crankarms for Bosch",
"price": "1100.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}