Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "33675",
"name": "Trek Domane+ Rear Bike Light Assembly",
"price": "",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "49062",
"name": "Trek TQ Rear Light Wire",
"price": "",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "49060",
"name": "Trek TQ Front Light Wire",
"price": "",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "33380",
"name": "Trek Domane+ Front Bike Light Assembly",
"price": "",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "31843",
"name": "Bontrager 2020 E-bike Forklight Parts",
"price": "",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "25371",
"name": "Bontrager USB Fast Charge Cable",
"price": "",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "More Options",
"position": 6
}
,
{
"id": "37981",
"name": "Bontrager Lights USB Type-C Charge Cable",
"price": "",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "41839",
"name": "Electra Townie 7D Fender Hardware Set",
"price": "",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "42250",
"name": "Electra PVC Light Wire Sleeve",
"price": "",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "49574",
"name": "Herrmans 4-Wire Headlight Connector",
"price": "",
"brand": "HERRMANS",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}