Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "41754",
"name": "District+ 5",
"price": "4695.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 1
}
,
{
"id": "41755",
"name": "District+ 5 Lowstep",
"price": "4695.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "More Options",
"position": 2
}
,
{
"id": "41344",
"name": "District+ 3",
"price": "3125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "41345",
"name": "District+ 3 Lowstep",
"price": "3125.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "41506",
"name": "District+ 2 Lowstep",
"price": "2820.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tealdark",
"list": "More Options",
"position": 5
}
,
{
"id": "41507",
"name": "District+ 2",
"price": "2820.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41606",
"name": "District+ 1 Lowstep",
"price": "2540.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "More Options",
"position": 7
}
,
{
"id": "41605",
"name": "District+ 1",
"price": "2540.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 8
}
,
{
"id": "47274",
"name": "District+ 4 Coaster Lowstep",
"price": "3295.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "orange",
"list": "More Options",
"position": 9
}
,
{
"id": "46126",
"name": "District+ 2 Belt Lowstep",
"price": "3100.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "36971",
"name": "District+ 4",
"price": "3575.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "36972",
"name": "District+ 4 Lowstep",
"price": "3575.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "orange",
"list": "More Options",
"position": 12
}
,
{
"id": "36940",
"name": "District+ 5 Lowstep",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "More Options",
"position": 13
}
,
{
"id": "36973",
"name": "District+ 5",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 14
}
,
{
"id": "35134",
"name": "District+ 8 Lowstep",
"price": "2880.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "More Options",
"position": 15
}
,
{
"id": "33108",
"name": "District+ 7",
"price": "2880.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 16
}
,
{
"id": "36796",
"name": "District+ 3 Lowstep",
"price": "2875.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 17
}
,
{
"id": "35136",
"name": "District+ 6 Lowstep 500Wh",
"price": "2600.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 18
}
,
{
"id": "28897",
"name": "District+ 2 Stagger",
"price": "2475.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black_bluelight",
"list": "More Options",
"position": 19
}
,
{
"id": "33013",
"name": "District+ 6",
"price": "2440.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "33014",
"name": "District+ 6 Lowstep",
"price": "2440.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "36559",
"name": "District+ 2",
"price": "1925.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "More Options",
"position": 22
}
,
{
"id": "36560",
"name": "District+ 2 Lowstep",
"price": "1925.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}