Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41725",
"name": "Supercaliber SLR 9.9 XX AXS Gen 2",
"price": "281999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "41722",
"name": "Supercaliber SLR 9.9 XTR Gen 2",
"price": "246999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 2
}
,
{
"id": "41728",
"name": "Supercaliber SLR 9.9 X0 AXS Gen 2",
"price": "232999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 3
}
,
{
"id": "41720",
"name": "Supercaliber 9.8 GX AXS Gen 2",
"price": "169999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "41721",
"name": "Supercaliber SLR 9.8 XT Gen 2",
"price": "175999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 5
}
,
{
"id": "41719",
"name": "Supercaliber SL 9.7 AXS Gen 2",
"price": "129999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "41670",
"name": "Supercaliber SL 9.6 Gen 2",
"price": "99999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight_red",
"list": "More Options",
"position": 7
}
,
{
"id": "47319",
"name": "Supercaliber SLR 9.9 XX AXS Gen 2",
"price": "304999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "More Options",
"position": 8
}
,
{
"id": "47303",
"name": "Supercaliber SLR 9.8 X0 AXS T-Type Gen 2",
"price": "174999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 9
}
,
{
"id": "47302",
"name": "Supercaliber SL 9.7 GX AXS T-Type Gen 2",
"price": "129999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 10
}
,
{
"id": "37041",
"name": "Supercaliber 9.9 XX1 AXS Gen 1",
"price": "289999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 11
}
,
{
"id": "37040",
"name": "Supercaliber 9.9 XTR Gen 1",
"price": "229999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 12
}
,
{
"id": "37038",
"name": "Supercaliber 9.8 XT Gen 1",
"price": "169999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 13
}
,
{
"id": "37039",
"name": "Supercaliber 9.8 Gen 1",
"price": "121799.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white_grey",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}