Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "33725",
"name": "Sprintech Compact Flat Bar Mirror",
"price": "49.99",
"brand": "Sprintech",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "22330",
"name": "Sprintech Drop Bar Mirror Set",
"price": "34.99",
"brand": "Sprintech",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36009",
"name": "Electra Retrostripe Bar End Mirror",
"price": "29.99",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22329",
"name": "Sprintech Drop Bar Mirror Single",
"price": "27.5",
"brand": "Sprintech",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "09317",
"name": "Mirrycle IsoZone Bar End Mirror",
"price": "26.0",
"brand": "Mirrycle",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "00126",
"name": "Mirrycle Mirror",
"price": "24.0",
"brand": "Mirrycle",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "00186",
"name": "Take-A-Look Cycling Mirror Original",
"price": "21.95",
"brand": "Take-A-Look",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22844",
"name": "Take-A-Look Cycling Mirror Compact",
"price": "21.95",
"brand": "Take-A-Look",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "36007",
"name": "Electra Ziggy Bar End Mirror",
"price": "21.93",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "tan_blue",
"list": "More Options",
"position": 9
}
,
{
"id": "30684",
"name": "Electra Bar End Mirror",
"price": "21.93",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "pinklight",
"list": "More Options",
"position": 10
}
,
{
"id": "36008",
"name": "Electra Sun Rays Bar End Mirror",
"price": "21.93",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "tan_yellow",
"list": "More Options",
"position": 11
}
,
{
"id": "36006",
"name": "Electra Gnome Bar End Mirror",
"price": "21.93",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "12663",
"name": "Electra Cruiser Handlebar Mirror",
"price": "14.99",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "22331",
"name": "Sprintech Drop Bar Mirror End Plug Set",
"price": "10.0",
"brand": "Sprintech",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "22843",
"name": "Take-A-Look Cycling Mirror Helmet Adapter",
"price": "6.95",
"brand": "Take-A-Look",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}