Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "42206",
"name": "C-Star RT900 Centerlock Brake Rotor",
"price": "20.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "More Options",
"position": 1
}
,
{
"id": "33286",
"name": "Tektro Centerlock Disc Brake Rotor",
"price": "15.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black_greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "33288",
"name": "Tektro TR-26 6-bolt Disc Brake Rotor",
"price": "15.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "42207",
"name": "C-Star RT553 6-bolt Brake Rotor",
"price": "13.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}