if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37985",
"name": "Bontrager Aeolus RSL TLR Road Tyre",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48770",
"name": "Pirelli P Zero TLR RS Road Bike Tyre",
"price": "89.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25926",
"name": "Bontrager R3 Hard-Case Lite TLR Road Tyre",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45223",
"name": "Pirelli P ZERO Race TLR 4S Road Tyre",
"price": "89.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46160",
"name": "Pirelli P ZERO Race TLR Road Tyre",
"price": "79.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38203",
"name": "Pirelli Cinturato Velo TLR Road Tyre",
"price": "74.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25275",
"name": "Schwalbe G-One Road Tire",
"price": "89.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}