if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41761",
"name": "ORTLIEB Handlebar Mounting Set with Lock",
"price": "35.0",
"brand": "ORTLIEB",
"category": "Bike bags & panniers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41762",
"name": "ORTLIEB E-Bike Handlebar Mounting Set with Lock",
"price": "35.0",
"brand": "ORTLIEB",
"category": "Bike bags & panniers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34000",
"name": "ORTLIEB Shoulder Strap",
"price": "4.0",
"brand": "ORTLIEB",
"category": "Bike bags & panniers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}