Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "25000",
"name": "Bontrager XXX Road Cycling Shoe",
"price": "419.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "30212",
"name": "Bontrager Ballista Knit Road Cycling Shoe",
"price": "279.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "34842",
"name": "Santini Trek-Segafredo Men's Team Bib Short",
"price": "159.99",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "32784",
"name": "Santini Trek-Segafredo Men's Team Jersey",
"price": "99.99",
"brand": "Santini",
"category": "Trek-Segafredo men's team wear",
"variant": "white_bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "32787",
"name": "Santini Trek-Segafredo Men's Team Training Replica Jersey",
"price": "89.99",
"brand": "Santini",
"category": "Trek-Segafredo men's team wear",
"variant": "yellowvisibility_bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "44120",
"name": "Santini Trek-Segafredo Men's RSL Team Jersey",
"price": "69.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_red",
"list": "More Options",
"position": 6
}
,
{
"id": "37500",
"name": "Santini Trek-Segafredo Men's Team Replica Race Jersey",
"price": "49.99",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_red",
"list": "More Options",
"position": 7
}
,
{
"id": "13040",
"name": "Bontrager inForm BioDynamic Low Arch Insoles",
"price": "44.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "44128",
"name": "Santini Trek-Segafredo Team Podium Hat",
"price": "14.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "37508",
"name": "Santini Trek-Segafredo Team Replica Cycling Cap",
"price": "9.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "white_red",
"list": "More Options",
"position": 10
}
,
{
"id": "44127",
"name": "Santini Trek-Segafredo Team Replica Cycling Cap",
"price": "9.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}