Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "31553",
"name": "Bontrager H2 Hard-Case Ultimate Reflective Hybrid Tyre",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 1
}
,
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite E-bike Tyre",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 2
}
,
{
"id": "31550",
"name": "Bontrager LT4 Expert Reflective E-bike Tyre",
"price": "36.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 3
}
,
{
"id": "31552",
"name": "Bontrager H2 Hard-Case Lite Reflective Hybrid Tyre",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 4
}
,
{
"id": "34577",
"name": "Electra Loft Hybrid Tyre",
"price": "19.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "12712",
"name": "Electra Amsterdam Hybrid 700c Tyre",
"price": "17.49",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 6
}
,
{
"id": "12714",
"name": "Electra Townie Original Tyres",
"price": "14.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}