if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33009",
"name": "Bontrager Comp Toe Spike Kit",
"price": "12.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35041",
"name": "Trek RSL Mountain Bike Shoe",
"price": "419.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45271",
"name": "Trek Cambion Mountain Bike Shoe",
"price": "289.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25343",
"name": "Bontrager XXX Mountain Bike Shoe",
"price": "247.49",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45272",
"name": "Trek Foray Mountain Bike Shoe",
"price": "179.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34130",
"name": "Bontrager Foray Mountain Bike Shoe",
"price": "134.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}
-
-
-
-
-
Kokeile ja ihastu. Jos et pidä siitä, voit palauttaa sen.
Lisätietoja
-
-