if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "34038",
"name": "Trek Commuter Pro RT Flare RT Bike Light Set",
"price": "",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34036",
"name": "Trek Commuter Comp R Flare R City Bike Light Set",
"price": "",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23711",
"name": "Bontrager Ion Pro RT/Flare RT Light Set",
"price": "",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30763",
"name": "Bontrager Ion Comp R/Flare R City Bike Light Set",
"price": "",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41450",
"name": "Trek Ion 200 RT / Flare RT Set",
"price": "",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14259",
"name": "Bontrager Ion 100 R/Flare R City Bike Light Set",
"price": "",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44447",
"name": "Trek Ion 50 R Flare R Metro Bike Light Set",
"price": "",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "23710",
"name": "Bontrager Ion 200 RT/Flare RT Light Set",
"price": "",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32356",
"name": "Bontrager Ion 120/Flare 1 Light Set",
"price": "",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}