Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "34038",
"name": "Trek Commuter Pro RT Flare RT Bike Light Set",
"price": "189.97",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34036",
"name": "Trek Commuter Comp R Flare R City Bike Light Set",
"price": "84.97",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30763",
"name": "Bontrager Ion Comp R/Flare R City Bike Light Set",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "41450",
"name": "Trek Ion 200 RT / Flare RT Set",
"price": "129.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44447",
"name": "Trek Ion 50 R Flare R Metro Bike Light Set",
"price": "44.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41452",
"name": "Trek Ion Pro RT/Flare RT Light Set",
"price": "199.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "46702",
"name": "Lezyne Lite Drive 1200+ Strip Drive Pro 400+ Set",
"price": "134.99",
"brand": "LEZYNE",
"category": "Bike lights",
"variant": "black_red",
"list": "More Options",
"position": 7
}
,
{
"id": "41443",
"name": "Trek Ion 100 R/Flare R City Bike Light Set",
"price": "79.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35163",
"name": "Lezyne Mini Drive 400XL/Stick Drive Light Set",
"price": "61.99",
"brand": "LEZYNE",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "32356",
"name": "Bontrager Ion 120/Flare 1 Light Set",
"price": "31.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "97.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}