if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "17108",
"name": "Cruiser Lux Fat Tyre 7D Step-Over",
"price": "725.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "17181",
"name": "Cruiser Lux 3i Step-Over",
"price": "450.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "17040",
"name": "Cruiser Lux 7D Step-Over",
"price": "450.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24579",
"name": "Super Deluxe Tandem 7i",
"price": "1325.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "blue_white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "15572",
"name": "Delivery 3i Step-Over",
"price": "1150.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29914",
"name": "Koa 3i",
"price": "950.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33362",
"name": "Honeycomb 3i",
"price": "950.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31386",
"name": "Andi 3i",
"price": "850.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "31387",
"name": "Zelda 3i",
"price": "850.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "24266",
"name": "EBC '93 3i",
"price": "700.0",
"brand": "Electra",
"category": "Cruiser bikes",
"variant": "red_white",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}