if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "25540",
"name": "Electra Cyclosaurus Boys' Fender Set",
"price": "44.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "blue_green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37596",
"name": "Electra 16˝ Kids' Handlebar",
"price": "29.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23935",
"name": "Bontrager Kids' Midfat MTB Tyres",
"price": "29.99",
"brand": "Cheng Shin",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32678",
"name": "Electra Water Lily Cruiser Bike Saddle",
"price": "24.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white_yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12682",
"name": "Electra Heartchya Cruiser Bike Saddle",
"price": "24.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37595",
"name": "Electra 20˝ Kids' Handlebar",
"price": "24.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "23647",
"name": "Electra Hot Dog Domed Ringer Bike Bell",
"price": "8.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greenvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "14500",
"name": "Electra Ice Cream Ringer Bike Bell",
"price": "8.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33661",
"name": "Electra Tiki Time Domed Linear Bike Bell",
"price": "7.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "reddark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33660",
"name": "Electra Liberty Ringer Bike Bell",
"price": "6.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33615",
"name": "Electra Graffiti Drip Handlebar Bag",
"price": "4.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "blue_redlight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "34399",
"name": "Electra Rosette Twister Bike Bell",
"price": "1.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}