Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 1
}
,
{
"id": "49162",
"name": "Speed Concept SLR 8 AXS",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 2
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 3
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 4
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 5
}
,
{
"id": "35671",
"name": "Cuadro Speed Concept SLR",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "More Options",
"position": 6
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "More Options",
"position": 7
}
,
{
"id": "35754",
"name": "Speed Concept SLR 6 AXS",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "More Options",
"position": 8
}
,
{
"id": "22055",
"name": "Cuadro Speed Concept RIN",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35755",
"name": "Speed Concept SLR 7 AXS",
"price": "",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}