Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36246",
"name": "Bontrager Speed Concept High-Near Stem",
"price": "348.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "36245",
"name": "Bontrager Speed Concept Mid-Far Stem",
"price": "348.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36244",
"name": "Bontrager Speed Concept Mid-Near Stem",
"price": "348.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "11558",
"name": "Bontrager Speed Concept Low-Near Stem",
"price": "348.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36247",
"name": "Bontrager Speed Concept High-Far Stem",
"price": "348.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25917",
"name": "Bontrager Speed Concept Gen 1 Stem Pinch Bolt M5 x 17mm",
"price": "72.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41180",
"name": "Trek Speed Concept Stem Faceplate Bolt",
"price": "48.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "42018",
"name": "Base Dual y Soporte de Computadora Blendr Bontrager Speed Concept",
"price": "3053.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "42017",
"name": "Base Mono y Soporte de Computadora Blendr Bontrager Speed Concept",
"price": "2604.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "37655",
"name": "Bontrager Speed Concept Blendr Duo Base",
"price": "1244.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}